Mike McCandless
2003-Apr-25 14:01 UTC
[Samba] INTERNAL ERROR - followup on rpc_server/srv_spoolss_nt.c recommendation
In a prior email, I reported seeing the following in a user log file> create_policy_hnd: ERROR: too many handles (1025) on this pipe. > [2003/04/21 15:35:21, 0, pid=2798, effective(502, 501), real(0, 0)] > rpc_server/srv_lsa_hnd.c:create_policy_hnd(109) > create_policy_hnd: ERROR: too many handles (1025) on this pipe. > [2003/04/21 15:35:21, 0, pid=2798, effective(502, 501), real(0, 0)] > lib/fault.c:fault_report(38) > ==============================================================> [2003/04/21 15:35:21, 0, pid=2798, effective(502, 501), real(0, 0)] > lib/fault.c:fault_report(39) > INTERNAL ERROR: Signal 11 in pid 2798 (2.2.7-security-rollup-fix) > Please read the file BUGS.txt in the distribution > [2003/04/21 15:35:21, 0, pid=2798, effective(502, 501), real(0, 0)] > lib/fault.c:fault_report(41) > ==============================================================and the recommendation was:> This should be fixed in the latest SAMBA_2_2 cvs code. > Look at _spoolss_open_printer_ex() and open_printer_hnd() in > rpc_server/srv_spoolss_nt.cBottom line, after implementing changes, we're still having the same problem. I've attached a message below from the same user's log file, from a timing standpoint, close to the startup of Samba. I turned on log level 3 and the messages below continue to appear (this group gets repeated), until at some time I get the INTERNAL ERROR. To implement the changes regarding srv_spoolss_nt.c, I did the following: - downloaded source rpm for samba 2.2.8a-1 - downloaded http://cvs.samba.org/cgi-bin/cvsweb/samba/source/rpc_server/srv_spoolss_nt.c?only_with_tag=SAMBA_2_2, the latest version (1.15.2.229) - updated this file in the samba.2.2.8a-1.tar.bz2 file - used the samba.spec file to build - installed the RPM At the point at which I have to shut down Samba, I have multiple smbd processes running for the problem user (mary), and the machine utilization is 99.x%. I have another user who is not experiencing the same problem (both on W2K, though). Is there any additional diagnostic or configuration information I can send you? If I was a better C programmer, I'd try and develop and patch and provide it. ----- Original Message ----- From: "Mike McCandless" <michael@prismbiz.com> To: <mmccand734@earthlink.net> Sent: Friday, April 25, 2003 6:09 AM Subject: Iterative Messages in log> [2003/04/25 06:07:38, 3, pid=17632, effective(502, 501), real(0, 0)] > rpc_server/srv_lsa_hnd.c:close_policy_hnd(197) > Closed policy > [2003/04/25 06:07:38, 3, pid=17632, effective(502, 501), real(0, 0)] > rpc_server/srv_pipe_hnd.c:free_pipe_context(444) > free_pipe_context: destroying talloc pool of size 0 > [2003/04/25 06:07:38, 3, pid=17632, effective(502, 501), real(0, 0)] > smbd/process.c:process_smb(846) > Transaction 159 of length 63 > [2003/04/25 06:07:38, 3, pid=17632, effective(502, 501), real(0, 0)] > smbd/process.c:switch_message(685) > switch message SMBreadX (pid 17632) > [2003/04/25 06:07:38, 3, pid=17632, effective(502, 501), real(0, 0)] > smbd/pipes.c:reply_pipe_read_and_X(239) > readX-IPC pnum=7441 min=180 max=180 nread=180 > [2003/04/25 06:07:38, 3, pid=17632, effective(502, 501), real(0, 0)] > smbd/process.c:process_smb(846) > Transaction 160 of length 124 > [2003/04/25 06:07:38, 3, pid=17632, effective(502, 501), real(0, 0)] > smbd/process.c:switch_message(685) > switch message SMBtrans (pid 17632) > [2003/04/25 06:07:38, 3, pid=17632, effective(502, 501), real(0, 0)] > smbd/ipc.c:reply_trans(520) > trans <\PIPE\> data=44 params=0 setup=2 > [2003/04/25 06:07:38, 3, pid=17632, effective(502, 501), real(0, 0)] > smbd/ipc.c:named_pipe(334) > named pipe command on <> name > [2003/04/25 06:07:38, 3, pid=17632, effective(502, 501), real(0, 0)] > smbd/ipc.c:api_fd_reply(296) > Got API command 0x26 on pipe "spoolss" (pnum 7440)free_pipe_context: > destroying talloc pool of size 0 > [2003/04/25 06:07:38, 3, pid=17632, effective(502, 501), real(0, 0)] > rpc_server/srv_pipe.c:api_pipe_request(1165) > Doing \PIPE\spoolss > [2003/04/25 06:07:38, 3, pid=17632, effective(502, 501), real(0, 0)] > rpc_server/srv_pipe.c:api_rpcTNP(1197) > api_rpcTNP: pipe 29760 rpc command: SPOOLSS_CLOSEPRINTER > > -------------------------------------------------------- > Mike McCandless > michael@prismbiz.com