Can't configure anything

Steamcast is a stand alone server that combines the features of SHOUTcast and Icecast2 and more to make one mega awesome server.
Post Reply
gvirtual
Posts: 8
Joined: Mon Apr 11, 2016 9:58 am

Can't configure anything

Post by gvirtual »

Everything was working without problems (since 2016), till some days ago, when I started to get as response after trying to config anything, with a screen indicating insufficient storage, but the storage is plenty of space (many gibabytes), and today it started to load that even with just opening admin
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Re: Can't configure anything

Post by Jay »

Can you post a screen shot of the error message?
- Jay
gvirtual
Posts: 8
Joined: Mon Apr 11, 2016 9:58 am

Re: Can't configure anything

Post by gvirtual »

Image
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Re: Can't configure anything

Post by Jay »

How big is your steamcast-users.xml file? How much free RAM is available on the system running Steamcast?
- Jay
gvirtual
Posts: 8
Joined: Mon Apr 11, 2016 9:58 am

Re: Can't configure anything

Post by gvirtual »

This is my free disk space
Filesystem Size Used Avail Use% Mounted on
rootfs 189G 5.6G 174G 4% /
udev 10M 0 10M 0% /dev
tmpfs 801M 184K 801M 1% /run
/dev/disk/by-uuid/ca3c6f7d-8bfc-4658-855b-ecea2aac4840 189G 5.6G 174G 4% /
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 3.2G 0 3.2G 0% /run/shm

Free mem:
MemTotal: 8200388 kB
MemFree: 5246060 kB
Buffers: 144548 kB
Cached: 2594408 kB
SwapCached: 0 kB
Active: 2767168 kB
Inactive: 21624 kB
Active(anon): 43252 kB
Inactive(anon): 6772 kB
Active(file): 2723916 kB
Inactive(file): 14852 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 8384508 kB
SwapFree: 8384508 kB
Dirty: 16 kB
Writeback: 0 kB
AnonPages: 49836 kB
Mapped: 8976 kB
Shmem: 188 kB
Slab: 118400 kB
SReclaimable: 103856 kB
SUnreclaim: 14544 kB
KernelStack: 1000 kB
PageTables: 2004 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 12484700 kB
Committed_AS: 461320 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 159968 kB
VmallocChunk: 34359575800 kB
HardwareCorrupted: 0 kB
AnonHugePages: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 49152 kB
DirectMap2M: 8339456 kB


This is Steamcast directory
total 2516880
-rwxrwxrwx 1 root root 1128 Oct 31 2015 mime.types
-rwxrwxrwx 1 root root 30020 Jan 11 2016 README.txt
-rwxrwxrwx 1 root root 1646351 Jan 11 2016 steamcast
-rwxrwxrwx 1 root root 1 Aug 14 2016 steamcast12084.pid
-rwxrwxrwx 1 root root 52 Apr 8 2016 _steamcast.conf
-rwxrwxrwx 1 root root 17040 Mar 20 21:09 steamcast.conf
-rwxrwxrwx 1 root root 1862067387 Apr 12 17:06 steamcast.log
-rwxrwxrwx 1 root root 5 Mar 20 21:10 steamcast.pid
-rwxrwxrwx 1 root root 1928 Mar 20 21:10 steamcast-users.xml
-rwxrwxrwx 1 root root 705210716 Apr 12 17:06 steamcast-w3c.log
-rwxrwxrwx 1 root root 6574805 Apr 12 17:05 teststeamc.log
-rwxrwxrwx 1 root root 223 Aug 15 2016 teststeamc.sh
gvirtual
Posts: 8
Joined: Mon Apr 11, 2016 9:58 am

Re: Can't configure anything

Post by gvirtual »

steamcast.log is the only large (maybe really huge) file, so I can only see it using tail command
User avatar
Max
Posts: 153
Joined: Fri Oct 21, 2011 1:39 am

Re: Can't configure anything

Post by Max »

Can you try finding "Recv Failed: Client Trying to send more than" in your log file?

There are two configuration values that can cause the error, "MaxRequestBufferSize", and "UploadLimit".

These are limits on how much data a web client can send to Steamcast before it stops the request.

MaxRequestBufferSize limits how big the request headers can be in the HTTP request. By default it is 9216 bytes.

UploadLimit limits how big the POST request can be. By default it is about 100MB.
gvirtual
Posts: 8
Joined: Mon Apr 11, 2016 9:58 am

Re: Can't configure anything

Post by gvirtual »

[04/12/2018@17:11:19] <200.92.58.105> Recv Failed: Client Trying to send more than 0 B of data in their request payload
[04/12/2018@17:11:19] <200.92.58.105> WEB REQ: 167.114.39.161:80/stylesheets/main.css {UA: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) Ap$
[04/12/2018@17:11:19] <200.92.58.105> WEB REQ: 167.114.39.161:80/images/logo.png {UA: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWe$
User avatar
Max
Posts: 153
Joined: Fri Oct 21, 2011 1:39 am

Re: Can't configure anything

Post by Max »

Did you set MaxRequestBufferSize or UploadLimit in steamcast.conf? Particularly UploadLimit is your most likely cause of this issue.
gvirtual
Posts: 8
Joined: Mon Apr 11, 2016 9:58 am

Re: Can't configure anything

Post by gvirtual »

I edited steamcast.conf/MaxRequestBufferSize and UploadLimit too, both to 16384, restarted and now working normal
Post Reply