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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > [not solved] Failed to obtain or reinitialize VMemBuf

Reply
 
Thread Tools Display Modes
  #21  
Old 03-06-2012, 06:01 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,586
Quote:
Originally Posted by DoM View Post
Hello,
same issue here:

Failed to obtain or reinitialize VMemBuf. possibly running out of swap space.
and
Failed to create temp file with mkstemp(): No such file or directory

disk of course has giga and giga of space.


LSWS 4.1.11

Waiting for your reply

Regards
It is likely that the process' virtual memory has been exhausted
Please check output of

ulimit -v

set it to unlimited in /etc/security/limits.conf, then restart LSWS. Also check the number of available inode for the /tmp partition.
Reply With Quote
  #22  
Old 03-06-2012, 06:05 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,586
If you set "Swap Directory"
http://www.litespeedtech.com/docs/we...l/#swappingDir

to a new location, make sure the directory exists, and has write permission for the user that litespeed run as.
Reply With Quote
  #23  
Old 03-07-2012, 07:26 AM
DoM DoM is offline
Senior Member
 
Join Date: Sep 2010
Posts: 123
Did it. it's already like this.

New dir is /var/lshttpd/swap with 777 permissions and it worked until version 4.1.10


Waiting for your reply

Regards
Reply With Quote
  #24  
Old 03-07-2012, 12:11 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,586
you need to verify parent directory permission with

sudo -u nobody touch /var/lshttpd/swap/tempfile

download the latest 4.1.12 build see if it work properly or not. It should help with the CPU usage issue with your server.
Reply With Quote
  #25  
Old 03-07-2012, 01:31 PM
DoM DoM is offline
Senior Member
 
Join Date: Sep 2010
Posts: 123
Everything works with permissions.

THere is a fix in 4.1.12 ?


Waiting for your reply

Regards
Reply With Quote
  #26  
Old 03-07-2012, 02:15 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,586
Please check the ticket reply about 4.1.12.
Reply With Quote
  #27  
Old 03-10-2012, 02:21 AM
DoM DoM is offline
Senior Member
 
Join Date: Sep 2010
Posts: 123
Link of 4.1.12 does not work:

http://www.litespeedtech.com/package...4-linux.tar.gz

2012-03-10 11:21:04 ERROR 404: Not Found.
Reply With Quote
  #28  
Old 03-10-2012, 07:10 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,586
sorry, I probably mistake you with another client. I will PM you the link.

Last edited by mistwang; 03-10-2012 at 07:13 AM..
Reply With Quote
  #29  
Old 03-15-2012, 01:22 AM
anything anything is offline
Member
 
Join Date: Jun 2010
Posts: 40
why is this thread marked as solved?
what is the solution?

it has happened again to me today, started happening 8 hours ago. Any file uploads above 1MB or so would fail with Error 500.
Failed to obtain or reinitialize VMemBuf. possibly running out of swap space.
Reply With Quote
  #30  
Old 03-15-2012, 01:29 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,218
ok. marked as [not solved]
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 01:39 PM.



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