Re: [Samba] Smbd hangs for users...
I love to if I just know how, not used to debuging...can you give me a hint? Please! Jeremy Allison skrev: On Thu, Apr 14, 2005 at 11:52:46AM +0200, Anders Troback wrote: Sorry for the bad input:-( It looks like if a folder contains lots of files with names (ls -w on the BSD box) like \303\204NDRINGAR ENLIGT NY STD.doc or milj\224prov.doc the smbd hangs for that user and a new session starts and sometimes a user have 10 smbd procceses running at 40-80%. The stange characters a old (old mening a error from a upgrade from 2.x to 3.x) swedish letters. Can you attach to the spinning process with gdb and tell me where it is within the code please ? Thanks, Jeremy. -- Microsoft is not the answer. Microsoft is the question. And 'No' is the answer! http://www.troback.com - -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Smbd hangs for users...
On Fri, Apr 15, 2005 at 07:48:29PM +0200, Anders Trobäck wrote: I love to if I just know how, not used to debuging...can you give me a hint? Please! Compile with -g to ensure you have symbols in place. Add the following line to the smb.conf global section : panic action = /bin/sleep 9 to catch any panics. If smbd seems to be frozen look for any sleep processes. If it's not an appears to be spinning, find the processid of the spinning process and type : gdb /usr/local/samba/sbin/smbd then attach pid (of the spinning process), then type bt to get a backtrace to see where the smbd is in the call path. Good luck ! Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Smbd hangs for users...
Sorry for the bad input:-( It looks like if a folder contains lots of files with names (ls -w on the BSD box) like \303\204NDRINGAR ENLIGT NY STD.doc or milj\224prov.doc the smbd hangs for that user and a new session starts and sometimes a user have 10 smbd procceses running at 40-80%. The stange characters a old (old mening a error from a upgrade from 2.x to 3.x) swedish letters. \\anders Jeremy Allison wrote: On Wed, Apr 13, 2005 at 09:19:24AM +0200, Anders Troback wrote: Hi, I looks like smbd hangs if the file name contains stange characters! More details would be helpful :-). Jeremy. -- Microsoft is not the answer. Microsoft is the question. And 'No' is the answer! Anders Trobäck http://www.troback.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Smbd hangs for users...
On Thu, Apr 14, 2005 at 11:52:46AM +0200, Anders Troback wrote: Sorry for the bad input:-( It looks like if a folder contains lots of files with names (ls -w on the BSD box) like \303\204NDRINGAR ENLIGT NY STD.doc or milj\224prov.doc the smbd hangs for that user and a new session starts and sometimes a user have 10 smbd procceses running at 40-80%. The stange characters a old (old mening a error from a upgrade from 2.x to 3.x) swedish letters. Can you attach to the spinning process with gdb and tell me where it is within the code please ? Thanks, Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Smbd hangs for users...
Hi, I looks like smbd hangs if the file name contains stange characters! Thanks any way! \\anders Jeremy Allison wrote: On Fri, Apr 08, 2005 at 01:23:11PM +0200, Anders Troback wrote: Hi, I'm new to the list so bare with me! Running samba-3.0.12 on FreeBSD 5.3-STABLE. I did uppgrade from 3.0.10 to 3.0.12 and now lots of my users have problems accesing their home folder on that server. If I look at the users procceses they are running more than one smbd and they are on verry high load, in top: PID USERNAME PRI NICE SIZERES STATE C TIME WCPUCPU COMMAND 12045 user1 1320 8588K 4900K CPU1 0 5:02 72.31% 72.31% smbd 11577 user1 1320 8604K 4680K CPU3 0 20:19 72.17% 72.17% smbd 12101 user1 1320 8884K 5156K RUN0 0:51 69.58% 69.58% smbd In windows the explorer hangs if the access their home folder... Can you get a backtrace using gdb from one of these processes ? I think I have a patch for you for this but need to be sure. Jeremy -- Microsoft is not the answer. Microsoft is the question. And 'No' is the answer! Anders Trobäck http://www.troback.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Smbd hangs for users...
On Wed, Apr 13, 2005 at 09:19:24AM +0200, Anders Troback wrote: Hi, I looks like smbd hangs if the file name contains stange characters! More details would be helpful :-). Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Smbd hangs for users...
Hi, I'm new to the list so bare with me! Running samba-3.0.12 on FreeBSD 5.3-STABLE. I did uppgrade from 3.0.10 to 3.0.12 and now lots of my users have problems accesing their home folder on that server. If I look at the users procceses they are running more than one smbd and they are on verry high load, in top: PID USERNAME PRI NICE SIZERES STATE C TIME WCPUCPU COMMAND 12045 user1 1320 8588K 4900K CPU1 0 5:02 72.31% 72.31% smbd 11577 user1 1320 8604K 4680K CPU3 0 20:19 72.17% 72.17% smbd 12101 user1 1320 8884K 5156K RUN0 0:51 69.58% 69.58% smbd In windows the explorer hangs if the access their home folder... -- Microsoft is not the answer. Microsoft is the question. And 'No' is the answer! Anders Trobäck http://www.troback.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Smbd hangs for users...
On Fri, Apr 08, 2005 at 01:23:11PM +0200, Anders Troback wrote: Hi, I'm new to the list so bare with me! Running samba-3.0.12 on FreeBSD 5.3-STABLE. I did uppgrade from 3.0.10 to 3.0.12 and now lots of my users have problems accesing their home folder on that server. If I look at the users procceses they are running more than one smbd and they are on verry high load, in top: PID USERNAME PRI NICE SIZERES STATE C TIME WCPUCPU COMMAND 12045 user1 1320 8588K 4900K CPU1 0 5:02 72.31% 72.31% smbd 11577 user1 1320 8604K 4680K CPU3 0 20:19 72.17% 72.17% smbd 12101 user1 1320 8884K 5156K RUN0 0:51 69.58% 69.58% smbd In windows the explorer hangs if the access their home folder... Can you get a backtrace using gdb from one of these processes ? I think I have a patch for you for this but need to be sure. Jeremy -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba