Ticket #372 (closed defect: fixed)

Opened 2 years ago

Last modified 3 months ago

dev-poll interface problem on Solaris 10

Reported by: debnar@web.sk Assigned to: jan
Priority: normal Milestone:
Component: core Version: 1.4.x-svn
Severity: normal Keywords: fdevent, solaris
Cc: Blocking:
Need Feedback: 0

Description

When using /dev/poll interface on Solaris 10, ioctl(ev->devpoll_fd, DP_POLL, &dopoll); fails. Problem seems to be in fdlimit, and check that was added in Sol10.

Long description of same problem in libevent: http://forum.sun.com/thread.jspa?threadID=26396&tstart=0

Solution: do not use all available FDs, but at least one less, preferably 10 less, to be on safe side.

Change in server.c: srv->max_fds = rlim.rlim_cur;

to: srv->max_fds = rlim.rlim_cur - 10;

Attachments

Change History

11/17/2005 02:17:04 PM changed by jan

  • status changed from new to closed.
  • resolution set to fixed.

thanks for the report,

fixed in [853]

02/13/2008 02:10:29 PM changed by stbuehler

  • blocking changed.
  • pending changed.

This "fix" probably introduced a new bug, see #1562.


Add/Change #372 (dev-poll interface problem on Solaris 10)




Change Properties
Action