out of swapping space while terminating GZIP stream

sahostking

Well-Known Member
#1
What does this error mean?

I have the exact same config as another server. But getting this error.

So a bit confused.

Uses Litespeed, cloudlinux and Mariadb
 

sahostking

Well-Known Member
#3
As can been seen there is over enough space:

root@lin02 [/tmp/lshttpd]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 42G 13G 28G 31% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
/dev/sda2 194M 131M 54M 71% /boot
/dev/sdb1 394G 59G 316G 16% /home
/dev/sdc1 50G 7.0G 40G 15% /data
/dev/sdd1 394G 79G 295G 22% /backup
/usr/tmpDSK 1.7G 37M 1.6G 3% /tmp


Also permissions is exactly the same as other servers:

4.0K drwxr-x--x 3 nobody nobody 4.0K Feb 15 08:36 lshttpd/
 

sahostking

Well-Known Member
#5
Well I uninstalled LitesPeed for second time completely and deleted all conf files etc. cleaning it up.

Then reinstalled it completely and now all seems to be working again.
 

sahostking

Well-Known Member
#6
Ok spoke too soon.

015-02-16 12:02:37.558 [ERROR] [105.229.66.246:52349-0#APVH_] out of swapping space while initialize GZIP stream!
2015-02-16 12:02:37.906 [ERROR] [105.229.66.246:52349-0#APVH_] out of swapping space while initialize GZIP stream!
2015-02-16 12:02:37.907 [NOTICE] [105.229.66.246:52349-0#APVH_] Max retries has been reached, 503!
2015-02-16 12:02:37.907 [NOTICE] [105.229.66.246:52349-0#APVH_] oops! 503 Service Unavailable
2015-02-16 12:02:37.907 [NOTICE] [105.229.66.246:52349-0#APVH_] Content len: 0, Request line: 'GET /knowledgebase/201204383/Editing-and-formatting-text-in-RVSiteBuilder-5.html HTTP/1.1'
2015-02-16 12:02:37.907 [NOTICE] [105.229.66.246:52349-0#APVH_] Redirect: #1, URL: /knowledgebase.php
2015-02-16 12:02:38.600 [ERROR] [105.229.66.246:52350-0#APVH_] out of swapping space while initialize GZIP stream!
2015-02-16 12:02:38.952 [ERROR] [105.229.66.246:52350-0#APVH_] out of swapping space while initialize GZIP stream!
2015-02-16 12:02:38.952 [NOTICE] [105.229.66.246:52350-0#APVH_] Max retries has been reached, 503!
2015-02-16 12:02:38.952 [NOTICE] [105.229.66.246:52350-0#APVH_] oops! 503 Service Unavailable
2015-02-16 12:02:38.952 [NOTICE] [105.229.66.246:52350-0#APVH_] Content len: 0, Request line: 'GET /supporttickets.php HTTP/1.1'
2015-02-16 12:02:47.278 [ERROR] [105.229.66.246:52353-0#APVH_] out of swapping space while initialize GZIP stream!
2015-02-16 12:02:47.671 [ERROR] [105.229.66.246:52353-0#APVH_] out of swapping space while initialize GZIP stream!
2015-02-16 12:02:47.671 [NOTICE] [uds://tmp/lshttpd/APVH_domain_Suphp.sock] Available connections are dropped below half of configured value:10, start another group of external application!
2015-02-16 12:02:47.671 [NOTICE] [105.229.66.246:52353-0#APVH_] Max retries has been reached, 503!
2015-02-16 12:02:47.671 [NOTICE] [105.229.66.246:52353-0#APVH_] oops! 503 Service Unavailable
2015-02-16 12:02:47.671 [NOTICE] [105.229.66.246:52353-0#APVH_] Content len: 0, Request line: 'GET / HTTP/1.1'
 

sahostking

Well-Known Member
#7
inodes:
df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sda3 2744320 321071 2423249 12% /
tmpfs 1003944 1 1003943 1% /dev/shm
/dev/sda2 51200 56 51144 1% /boot
/dev/sdb1 26214400 784579 25429821 3% /home
/dev/sdc1 3276800 17831 3258969 1% /data
/dev/sdd1 26214400 7949 26206451 1% /backup
/usr/tmpDSK 109536 1366 108170 2% /tmp

Switched to Apache so long before the clients we have on this particular server complain
 

mistwang

LiteSpeed Staff
#8
The swap usage is keep changing, 1.7G may not be enough if the site does large media file upload/download, any dynamic content with size larger than 1MB, will be placed in the swap directory temporarily.
Just change the swap directory location to other partition, like /backup/lsswap/ or /home/lsswap/ will likely fix this issue.
 

sahostking

Well-Known Member
#9
Did that no luck, even tried it on a 100GB free disk. Still get errors:

2015-02-16 22:15:35.040 [ERROR] [197.229.178.254:61253-0#APVH_:443_] out of swapping space while initialize GZIP stream!
2015-02-16 22:15:35.040 [NOTICE] [197.229.178.254:61253-0#APVH_:443_] Max retries has been reached, 503!
2015-02-16 22:15:35.040 [NOTICE] [197.229.178.254:61253-0#APVH_:443_] oops! 503 Service Unavailable
2015-02-16 22:15:35.040 [NOTICE] [197.229.178.254:61253-0#APVH_:443_] Content len: 0, Request line: 'GET /wp-admin/admin.php?page=wangguard_wizard HTTP/1.1'

Note this server only has around 20 websites in it. Whereas the other server which is working fine with litespeed and cloudlinux and is setup the same has over 500 websites if not more on it. Hence I cannot see how they can say it's getting full.

Any other ideas please.

I've tried the following so far:

1. Matched the settings between the 2 servers via Litespeed web console to match exactly the same.
2. Reran CageFS --reinit
3. Reinstalled Litespeed completely after uninstalling it
4. Changed Partitions
5. Reran EasyApache and /upcp


Maybe I should downgrade to a different version? How do I do that?
 

sahostking

Well-Known Member
#14
Naa doesn't work on 4.2.20 aswell.

Getting :
out of swapping space while terminating GZIP stream!


Moved back down to 4.2.19 again where it works fine
 
Last edited:
Top