LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > 4.0.20 -> 4.1.2 Problem with tmp directory growing up

Reply
 
Thread Tools Display Modes
  #1  
Old 07-27-2011, 03:19 PM
track1 track1 is offline
Member
 
Join Date: Oct 2010
Posts: 46
Default 4.0.20 -> 4.1.2 Problem with tmp directory growing up

after upgrading to from 4.0.20 to 4.1.2, /tmp/ directory begins to grow (1gb), but do not get to show any files that occupy that space. Restarting litespeed returns to be free space and starts to grow again.

Any idea?

Cache is activated but cache files only takes 50-60mb and there is a cron task that deletes.

With 4.0.20 /tmp/ dir have about 90% free space and doesn't go up.
Reply With Quote
  #2  
Old 07-27-2011, 03:54 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
try 'du -sk /tmp/lshttpd* |sort -n | tail' when /tmp is getting big
Reply With Quote
  #3  
Old 07-27-2011, 04:01 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
maybe related to
http://www.litespeedtech.com/support...ead.php?t=5158

try a force reinstall of 4.1.2
Reply With Quote
  #4  
Old 07-28-2011, 03:40 AM
track1 track1 is offline
Member
 
Join Date: Oct 2010
Posts: 46
Quote:
Originally Posted by webizen View Post
try 'du -sk /tmp/lshttpd* |sort -n | tail' when /tmp is getting big
du -skh /tmp/lshttpd* |sort -n | tail
612K /tmp/lshttpd


df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 9.7G 1.4G 7.8G 16% /
/dev/sda8 996M 323M 622M 35% /tmp


# service lsws restart

# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 9.7G 1.4G 7.8G 16% /
/dev/sda8 996M 119M 825M 13% /tmp
Reply With Quote
  #5  
Old 07-28-2011, 03:42 AM
track1 track1 is offline
Member
 
Join Date: Oct 2010
Posts: 46
Quote:
Originally Posted by mistwang View Post
maybe related to
http://www.litespeedtech.com/support...ead.php?t=5158

try a force reinstall of 4.1.2
i don' tthink is related to open files, my settings are correct.

root@[/tmp]# /usr/sbin/lsof -u root | wc -l
1495
root@[/tmp]# /usr/sbin/lsof -u nobody | wc -l
896
root@[/tmp]# ulimit -n
262144


Anyway just did a force reinstall to check again.
Reply With Quote
  #6  
Old 08-01-2011, 03:52 AM
track1 track1 is offline
Member
 
Join Date: Oct 2010
Posts: 46
still with problems:

Filesystem Size Used Avail Use% Mounted on
/dev/sda8 996M 866M 79M 92% /tmp

# service lsws restart

Filesystem Size Used Avail Use% Mounted on
/dev/sda8 996M 85M 860M 9% /tmp


Just downgraded @ v4.0.20 to check if this problem exists.
Reply With Quote
  #7  
Old 08-01-2011, 05:43 AM
NiteWave NiteWave is online now
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,292
have you enabled cache and cache folder under /tmp ?
Reply With Quote
  #8  
Old 08-01-2011, 05:45 AM
track1 track1 is offline
Member
 
Join Date: Oct 2010
Posts: 46
yes
/tmp/diskcache

but was taking only 50-70mb max, with clean cron running.


Currently with 4.0.20 and zero config changes no problem at moment.
Reply With Quote
  #9  
Old 08-01-2011, 05:52 AM
NiteWave NiteWave is online now
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,292
anyway, here's the latest:
#curl -I http://www.litespeedtech.com/package...4-linux.tar.gz
HTTP/1.1 200 OK
Date: Mon, 01 Aug 2011 12:49:46 GMT
Server: LiteSpeed
Accept-Ranges: bytes
Keep-Alive: timeout=5, max=100
ETag: "30dd26-4e331221-1bc8de9"
Last-Modified: Fri, 29 Jul 2011 20:03:45 GMT
Content-Type: application/gzip
Content-Length: 3202342
Connection: keep-alive

if your 4.1.2 is older, please do a force-reinstall again.
Reply With Quote
  #10  
Old 08-01-2011, 05:55 AM
track1 track1 is offline
Member
 
Join Date: Oct 2010
Posts: 46
will wait one day with 4.0.20 to be sure tmp problem is related to lsws, and then force reinstall to latest 4.1.2 (i was using version downloaded day 28, so wasn't day 29 build).
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:42 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.