Solved

No buffer space available: accept: (client socket)

Posted on 2001-06-20
10
1,045 Views
Last Modified: 2012-08-14
Hi
Sometimes my httpd process hangs and generate the following error in the log file

[Fri Jun  8 16:53:23 2001] [error] (233)No buffer space available: accept: (client socket)

 
0
Comment
Question by:odnanref
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
10 Comments
 
LVL 4

Expert Comment

by:jbrugman
ID: 6209879
Is that a perl question?
0
 

Author Comment

by:odnanref
ID: 6209901
I'm using perl scripts with a CGI.pm, and is possible that someone had the same problem.
Do you think is better to put the quewstion in the apache area?
0
 
LVL 4

Expert Comment

by:jbrugman
ID: 6209916
Would honestly don't know. I'd suggest you try it there as well, Is apache running or is the server even not starting due to the error?
Can you give more info?

like, when does it happen and what modules are loaded that might vouse the problem, is mod_perl active etc.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 8

Expert Comment

by:shlomoy
ID: 6209958
check to see if /var is full
0
 

Author Comment

by:odnanref
ID: 6209981
No it's not full

df -k /var
/var   (/dev/vg00/lvol8     ) :  1042709 total allocated Kb
                                   184810 free allocated Kb
                                   857899 used allocated Kb
                                   82 % allocation used
I'm using mod_perl
In the same machine there are other Apache processes that don't have the same problem. A diference is that I have the passwords in the database and the others are using password and .htaccess files.
I use the module Apache::MyAuthDBI for authentication.
0
 
LVL 4

Expert Comment

by:jbrugman
ID: 6209994
If your programs are in mod_perl, do you actually clear the contents of your vars and arrays and close the database connection in your script?

if not, mod_perl keeps the possible persistent db-connection open, and does not free it. Second, when vars aren't cleared, mod_perl keeps them in memory.
0
 

Author Comment

by:odnanref
ID: 6210036
I close all the database connections, but I don't clear explicitly the contents of my vars and arrays.

To clear the arrays can I do
 $#ArrayFiles = -1; ?

How can I clean the vars?


0
 
LVL 4

Expert Comment

by:jbrugman
ID: 6210083
hmm, i assume you know: http://perl.apache.org/guide/porting.html#Exposing_Apache_Registry_secret ?
here's explained what i mean.
When i cache some stuff, i ude undef to clean it.
0
 

Author Comment

by:odnanref
ID: 6232472
I didn't forget you.
I tried to undef all vars and arrays and I'm waiting to see if the problem persists.
The process is runing without problems since 21/06/2000
Lets wait more a few days.
Thanks
0
 
LVL 4

Accepted Solution

by:
jbrugman earned 200 total points
ID: 6233130
Just glad if it works.
It could be one of those nasty 'what the hack is going on' things.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question