ERROR! Out of pipe structures #2

Jeremy Allison jra at samba.org
Sat Oct 27 00:14:04 GMT 2001


On Fri, Oct 26, 2001 at 09:15:35PM -0700, Bill Schoolcraft wrote:
> At Fri, 26 Oct 2001 it looks like Jeremy Allison composed:
> 
> jra->What version of Samba are you running ?
> jra->
> 
> I'm running samba-2.2.2 and using CUPS.
> 
> CUPS was the one thing that worked great with Solaris-8 (Intel) and
> I've got an Epson777 color inkjet printer hooked up to the first
> parallal port and printer color right off the bat.

Ok - try the following patch (shouldn't eat too many more resources).

Let me know if this fixes the problem.

Thanks,

	Jeremy.

Index: rpc_server/srv_pipe_hnd.c
===================================================================
RCS file: /data/cvs/samba/source/rpc_server/srv_pipe_hnd.c,v
retrieving revision 1.54.4.15
diff -u -r1.54.4.15 srv_pipe_hnd.c
--- rpc_server/srv_pipe_hnd.c   20 Oct 2001 21:23:46 -0000      1.54.4.15
+++ rpc_server/srv_pipe_hnd.c   27 Oct 2001 07:12:27 -0000
@@ -32,7 +32,7 @@
 static int pipes_open;
 
 #ifndef MAX_OPEN_PIPES
-#define MAX_OPEN_PIPES 64
+#define MAX_OPEN_PIPES 1024
 #endif
 
 static pipes_struct *Pipes;






More information about the samba mailing list