ID:               20274
 Updated by:       [EMAIL PROTECTED]
 Reported By:      fowler at csufresno dot edu
-Status:           Assigned
+Status:           Critical
 Bug Type:         iPlanet related
 Operating System: Solaris (all)
 PHP Version:      4CVS-2002-11-06
-Assigned To:      thetaphi
+Assigned To:      wez


Previous Comments:
------------------------------------------------------------------------

[2003-03-08 14:41:40] [EMAIL PROTECTED]

Also the perl programmers have the same problem:

the version of perl i mentioned before that I had
compiled myself was on an AIX box so it wasn't a fair
test, because when I compiled perl on the sun box
myself I still had the 256 open file limit. I started
poking through perl documentation and found this in
README.solaris

The stdio(3C) manpage notes that only 255 files may be
opened using
fopen(), and only file descriptors 0 through 255 can
be used in a
stream.  Since perl calls open() and then fdopen(3C)
with the
resulting file descriptor, perl is limited to 255
simultaneous open
files.

----
So we should choose one of the following possibilities:
a) use only open() and not fopen(), which should be possible beacuse
later in streams.c only the read file descriptor is obtained with
fileno(). Why also use fopen?
b) in solaris use parts of glibc which handles fopen-streams.

------------------------------------------------------------------------

[2003-03-08 06:25:15] [EMAIL PROTECTED]

I will test it with PHP5 on out solaris box.

------------------------------------------------------------------------

[2003-03-07 20:01:28] [EMAIL PROTECTED]

It's in PHP_4_3 branch.
The problem does not apply to PHP5, as the ZE2 no longer needs to
cast/clone streams.

------------------------------------------------------------------------

[2003-03-07 11:52:36] [EMAIL PROTECTED]

[EMAIL PROTECTED]: The fix you explained: Is it also in the 4.3 CVS? Or
only in newest one?

------------------------------------------------------------------------

[2003-03-07 10:36:40] [EMAIL PROTECTED]

The problem is still in the CVS. I have the problem with my own
development webserver (Solaris 2.9, SunOne Webserver 6.0 newest one
SP5), too. At this time I am looking for a fix. Increasing the file
descriptor limit does not help, too.
I compile at this time with gcc. I will check if problem with Forte7
still there... due to Sun recommends Forte7 for NSAPI.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/20274

-- 
Edit this bug report at http://bugs.php.net/?id=20274&edit=1

Reply via email to