Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Event::Lib 1024 socket limit

by Fletch (Bishop)
on Sep 12, 2007 at 23:13 UTC ( [id://638700]=note: print w/replies, xml ) Need Help??


in reply to Event::Lib 1024 socket limit

Sounds like you've hit an OS soft or hard limit. Check with your sysadmin and/or consult your shell's documentation for its ulimit command.

Replies are listed 'Best First'.
Re^2: Event::Lib 1024 socket limit
by Ray Smith (Beadle) on Sep 13, 2007 at 01:01 UTC
    You are correct that there is a limit of 1024 sockets when not running as root. However, as root, we often extend the maximum to 8K. In our IO::Select based implementation we have gone to 2K open sockets. But at these numbers the CPU load is considerable. I'm hoping there is someone out there who has found a way to get Event::Lib past the 1024 limit. I was thinking this might be by recompiling libevent. I was hoping that there might be a switch or something I might correct to get past this limit.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://638700]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2026-02-18 14:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.