Page 1 of 2
Root partition filling up
Posted: Sun Sep 18, 2011 2:52 pm
by wendigo
Hi,
I've just encountered this problem I don't know how to solve since I'm a Linux newbie...
The Root partition of my HDA started to fill up (even though it's over 27 GB) and I don't know how to find which data are doing this and how to free up the space.
The Disk Usage Analyzer tool showed up but I cannot get from it any useful data - the disk with data is shown as mounted under / too and I don't understand it...
My setup: 500 GB disk with system+some data, 2TB disk with data only, no greyhole. 28GB for /, 20 for .home (mostrly free), 400 data.
Is it possible there's some huge log file or some cache piling up?
Thanks in advance.
Re: Root partition filling up
Posted: Sun Sep 18, 2011 4:38 pm
by radioz
Ok, open up a terminal on your hda machine and type:
df -h
and show us the results. That will show each partition and how full they are.
If it is log files filling up your drive, they are located in /var/log. You can type:
cd /var/log
ls -al
to see which logs files are the largest.
Let us know what you find.
Re: Root partition filling up
Posted: Sun Sep 18, 2011 11:26 pm
by moredruid
run the following command as the root user to see which directories are big:
du -xkh --max-depth=1 /
then drill down (i.e. /var is big):
du -xkh --max-depth=1 /var
that should help you.
Also checking if /etc/logrotate.conf has the option "compress" enabled (there should be no # in front of it) and running the command "logrotate /etc/logrotate.conf" could help you a lot. Note that if you have large logfiles the logrotate command can take a while.
Usually large logfiles are an indication of something else that is wrong (misconfiguration, or a service that is logging excessively verbose, or a hardware/software error) so you might want to look into your logfiles first if those are the disk eaters.
Re: Root partition filling up
Posted: Mon Sep 19, 2011 12:24 am
by wendigo
Thanks, the "du -xkh --max-depth=1 /" led me to /var/log/samba/cores/smdb which has 23G!
It is full of files with names core.#####, all of them about 1.8 MB. Totally about 32700 of them.
But when I try opening any of these, I first have to chmod it and even then it doesn't show anything meaningful (tried mc viewer in terminal and Notepad++ on windows).
I uploaded one
here. Could you please try to find anything useful about it?
Also, enabling compression in the /etc/logrotate.conf helped to free about 1,3 G itself!
Result of df -h (before):
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_amahi-lv_root
28G 27G 28M 100% /
tmpfs 1.5G 180K 1.5G 1% /dev/shm
/dev/sda1 485M 68M 393M 15% /boot
/dev/mapper/vg_amahi-lv_home
20G 404M 18G 3% /home
/dev/sda3 410G 899M 389G 1% /var/hda/files
/dev/sdb1 1.8T 1.1T 665G 62% /var/hda/files/drives/drive2
Re: Root partition filling up
Posted: Mon Sep 19, 2011 1:30 am
by moredruid
you should be able to remove those core files without issue. And you should let one of the devs look at your /var/log/messages and samba log files. It seems that there are some issues with samba seeing that you have that many log files.
Re: Root partition filling up
Posted: Mon Sep 19, 2011 12:28 pm
by wendigo
Deleted them, thanks.
I looked in the messages logs and there is lot of such issues, so it looks to me like some conflict with Transmission (TorrentName1 & TorrentName2 are not real torrent names

) :
Code: Select all
Sep 3 17:22:42 amahi transmission-daemon[20117]: TorrentName1 Starting IPv6 DHT announce (firewalled, 86 nodes) (tr-dht.c:677)
Sep 3 17:22:42 amahi transmission-daemon[20117]: TorrentName2 DHT announce done (tr-dht.c:645)
Sep 3 17:23:16 amahi smbd[16603]: [2011/09/03 17:23:16.521708, 0] lib/util_sock.c:880(open_socket_in)
Sep 3 17:23:16 amahi smbd[16603]: bind failed on port 445 socket_addr = ::.
Sep 3 17:23:16 amahi smbd[16603]: Error = Address already in use
Sep 3 17:23:16 amahi smbd[16603]: [2011/09/03 17:23:16.522362, 0] smbd/server.c:501(smbd_open_one_socket)
Sep 3 17:23:16 amahi smbd[16603]: smbd_open_once_socket: open_socket_in: Address already in use
Sep 3 17:23:16 amahi smbd[16603]: [2011/09/03 17:23:16.522557, 0] lib/util_sock.c:880(open_socket_in)
Sep 3 17:23:16 amahi smbd[16603]: bind failed on port 139 socket_addr = ::.
Sep 3 17:23:16 amahi smbd[16603]: Error = Address already in use
Sep 3 17:23:16 amahi smbd[16603]: [2011/09/03 17:23:16.522757, 0] smbd/server.c:501(smbd_open_one_socket)
Sep 3 17:23:16 amahi smbd[16603]: smbd_open_once_socket: open_socket_in: Address already in use
Sep 3 17:23:16 amahi smbd[16603]: [2011/09/03 17:23:16.522947, 0] lib/util_sock.c:880(open_socket_in)
Sep 3 17:23:16 amahi smbd[16603]: bind failed on port 445 socket_addr = 0.0.0.0.
Sep 3 17:23:16 amahi smbd[16603]: Error = Address already in use
Sep 3 17:23:16 amahi smbd[16603]: [2011/09/03 17:23:16.523146, 0] smbd/server.c:501(smbd_open_one_socket)
Sep 3 17:23:16 amahi smbd[16603]: smbd_open_once_socket: open_socket_in: Address already in use
Sep 3 17:23:16 amahi smbd[16603]: [2011/09/03 17:23:16.523337, 0] lib/util_sock.c:880(open_socket_in)
Sep 3 17:23:16 amahi smbd[16603]: bind failed on port 139 socket_addr = 0.0.0.0.
Sep 3 17:23:16 amahi smbd[16603]: Error = Address already in use
Sep 3 17:23:16 amahi smbd[16603]: [2011/09/03 17:23:16.523423, 0] smbd/server.c:501(smbd_open_one_socket)
Sep 3 17:23:16 amahi smbd[16603]: smbd_open_once_socket: open_socket_in: Address already in use
Sep 3 17:23:16 amahi smbd[16603]: [2011/09/03 17:23:16.523472, 0] smbd/server.c:675(open_sockets_smbd)
Sep 3 17:23:16 amahi smbd[16603]: open_sockets_smbd: No sockets available to bind to.
Sep 3 17:23:16 amahi smbd[16603]: [2011/09/03 17:23:16.523679, 0] smbd/server.c:912(exit_server_common)
Sep 3 17:23:16 amahi smbd[16603]: ===============================================================
Sep 3 17:23:16 amahi smbd[16603]: [2011/09/03 17:23:16.523745, 0] smbd/server.c:914(exit_server_common)
Sep 3 17:23:16 amahi smbd[16603]: Abnormal server exit: open_sockets_smbd() failed
Sep 3 17:23:16 amahi smbd[16603]: [2011/09/03 17:23:16.523789, 0] smbd/server.c:915(exit_server_common)
Sep 3 17:23:16 amahi smbd[16603]: ===============================================================
Sep 3 17:23:16 amahi smbd[16603]: [2011/09/03 17:23:16.525656, 0] lib/util.c:1572(log_stack_trace)
Sep 3 17:23:16 amahi smbd[16603]: BACKTRACE: 6 stack frames:
Sep 3 17:23:16 amahi smbd[16603]: #0 smbd(log_stack_trace+0x1a) [0x7f54cacf1f1a]
Sep 3 17:23:16 amahi smbd[16603]: #1 smbd(+0x6783e0) [0x7f54cafef3e0]
Sep 3 17:23:16 amahi smbd[16603]: #2 smbd(+0x678761) [0x7f54cafef761]
Sep 3 17:23:16 amahi smbd[16603]: #3 smbd(main+0x98d) [0x7f54caff056d]
Sep 3 17:23:16 amahi smbd[16603]: #4 /lib64/libc.so.6(__libc_start_main+0xfd) [0x7f54c7b45e5d]
Sep 3 17:23:16 amahi smbd[16603]: #5 smbd(+0xea6f9) [0x7f54caa616f9]
Sep 3 17:23:16 amahi smbd[16603]: [2011/09/03 17:23:16.525880, 0] lib/fault.c:326(dump_core)
Sep 3 17:23:16 amahi smbd[16603]: dumping core in /var/log/samba/cores/smbd
Sep 3 17:23:16 amahi smbd[16603]:
Sep 3 17:23:16 amahi abrt[16606]: saved core dump of pid 16603 (/usr/sbin/smbd) to /var/spool/abrt/ccpp-1315063396-16603.new/coredump (1875968 bytes)
Sep 3 17:23:16 amahi abrtd: Directory 'ccpp-1315063396-16603' creation detected
Sep 3 17:23:16 amahi abrtd: Crash is in database already (dup of /var/spool/abrt/ccpp-1314740773-14217)
Sep 3 17:23:16 amahi abrtd: Deleting crash ccpp-1315063396-16603 (dup of ccpp-1314740773-14217), sending dbus signal
And from log.smbd-YYYYMMDD files I see that Samba server is restarted every minute...
Should I log a bug for this or move to Transmission subforum?
Re: Root partition filling up
Posted: Mon Sep 19, 2011 1:24 pm
by radioz
Are you having any problems accessing your shares outside of Transmission?
Can you transfer files ok to/from your clients?
From the error log I'm not sure if it is a Samba problem or a Transmission problem.
Re: Root partition filling up
Posted: Mon Sep 19, 2011 1:51 pm
by wendigo
No, no significant problems accessing shares, neither Torrents share nor others.
I can think about 2 issues but cannot figure out if it's a problem in Samba, network or my PCs:
- sometimes my laptop completely disconnects from wifi while downloading simultaneously multiple files directly to a share
- the top file transfer speed I got from my server is about 8-9 MBps, even with Wifi N (I think over ethernet it was the same but cannot check it now, and the router is Linksys E4200)
Re: Root partition filling up
Posted: Mon Sep 19, 2011 11:14 pm
by radioz
Hmm, perhaps there are disk or other errors going on.
Take a look at your system error log on your hda in /var/log/messages.
See if there any disk errors or perhaps networking problems.
Let us know if you find anything.
Re: Root partition filling up
Posted: Tue Sep 20, 2011 12:33 am
by wendigo
So I dug through older messages and found out that the core dumps started on Aug 30, after samba update I did at 23:46:
Code: Select all
Aug 30 23:45:30 amahi transmission-daemon[20117]: Saved "/var/lib/transmission/.config/transmission-daemon/stats.json" (bencode.c:1697)
Aug 30 23:45:42 amahi yum[13908]: Updated: samba-common-3.5.11-79.fc14.x86_64
Aug 30 23:45:43 amahi yum[13908]: Installed: libunistring-0.9.3-1.fc14.x86_64
Aug 30 23:45:43 amahi yum[13908]: Installed: libipa_hbac-1.5.12-1.fc14.x86_64
Aug 30 23:45:52 amahi yum[13908]: Updated: xulrunner-1.9.2.20-1.fc14.x86_64
Aug 30 23:45:53 amahi yum[13908]: Updated: pinentry-0.8.1-4.fc14.x86_64
Aug 30 23:45:55 amahi yum[13908]: Updated: sssd-client-1.5.12-1.fc14.x86_64
Aug 30 23:45:56 amahi yum[13908]: Updated: foomatic-filters-4.0.7-2.fc14.x86_64
Aug 30 23:45:58 amahi yum[13908]: Updated: foomatic-4.0.7-2.fc14.x86_64
Aug 30 23:46:04 amahi yum[13908]: Updated: sssd-1.5.12-1.fc14.x86_64
Aug 30 23:46:04 amahi yum[13908]: Updated: pinentry-gtk-0.8.1-4.fc14.x86_64
Aug 30 23:46:12 amahi smbd[14209]: [2011/08/30 23:46:12.637632, 0] smbd/server.c:501(smbd_open_one_socket)
Aug 30 23:46:12 amahi smbd[14209]: smbd_open_once_socket: open_socket_in: Address already in use
Aug 30 23:46:12 amahi smbd[14209]: [2011/08/30 23:46:12.638533, 0] smbd/server.c:501(smbd_open_one_socket)
Aug 30 23:46:12 amahi smbd[14209]: smbd_open_once_socket: open_socket_in: Address already in use
Aug 30 23:46:12 amahi smbd[14217]: [2011/08/30 23:46:12.909421, 0] lib/util_sock.c:880(open_socket_in)
Aug 30 23:46:12 amahi smbd[14217]: bind failed on port 445 socket_addr = ::.
Aug 30 23:46:12 amahi smbd[14217]: Error = Address already in use
Aug 30 23:46:12 amahi smbd[14217]: [2011/08/30 23:46:12.910054, 0] smbd/server.c:501(smbd_open_one_socket)
Aug 30 23:46:12 amahi smbd[14217]: smbd_open_once_socket: open_socket_in: Address already in use
Aug 30 23:46:12 amahi smbd[14217]: [2011/08/30 23:46:12.910265, 0] lib/util_sock.c:880(open_socket_in)
Aug 30 23:46:12 amahi smbd[14217]: bind failed on port 139 socket_addr = ::.
Aug 30 23:46:12 amahi smbd[14217]: Error = Address already in use
Aug 30 23:46:12 amahi smbd[14217]: [2011/08/30 23:46:12.910474, 0] smbd/server.c:501(smbd_open_one_socket)
Aug 30 23:46:12 amahi smbd[14217]: smbd_open_once_socket: open_socket_in: Address already in use
Aug 30 23:46:12 amahi smbd[14217]: [2011/08/30 23:46:12.910665, 0] lib/util_sock.c:880(open_socket_in)
Aug 30 23:46:12 amahi smbd[14217]: bind failed on port 445 socket_addr = 0.0.0.0.
Aug 30 23:46:12 amahi smbd[14217]: Error = Address already in use
Aug 30 23:46:12 amahi smbd[14217]: [2011/08/30 23:46:12.910872, 0] smbd/server.c:501(smbd_open_one_socket)
Aug 30 23:46:12 amahi smbd[14217]: smbd_open_once_socket: open_socket_in: Address already in use
Aug 30 23:46:12 amahi smbd[14217]: [2011/08/30 23:46:12.911053, 0] lib/util_sock.c:880(open_socket_in)
Aug 30 23:46:12 amahi smbd[14217]: bind failed on port 139 socket_addr = 0.0.0.0.
Aug 30 23:46:12 amahi smbd[14217]: Error = Address already in use
Aug 30 23:46:12 amahi smbd[14217]: [2011/08/30 23:46:12.911295, 0] smbd/server.c:501(smbd_open_one_socket)
Aug 30 23:46:12 amahi smbd[14217]: smbd_open_once_socket: open_socket_in: Address already in use
Aug 30 23:46:12 amahi smbd[14217]: [2011/08/30 23:46:12.911428, 0] smbd/server.c:675(open_sockets_smbd)
Aug 30 23:46:12 amahi smbd[14217]: open_sockets_smbd: No sockets available to bind to.
Aug 30 23:46:12 amahi smbd[14217]: [2011/08/30 23:46:12.911719, 0] smbd/server.c:912(exit_server_common)
Aug 30 23:46:12 amahi smbd[14217]: ===============================================================
Aug 30 23:46:12 amahi smbd[14217]: [2011/08/30 23:46:12.911856, 0] smbd/server.c:914(exit_server_common)
Aug 30 23:46:12 amahi smbd[14217]: Abnormal server exit: open_sockets_smbd() failed
Aug 30 23:46:12 amahi smbd[14217]: [2011/08/30 23:46:12.911984, 0] smbd/server.c:915(exit_server_common)
Aug 30 23:46:12 amahi smbd[14217]: ===============================================================
Aug 30 23:46:13 amahi smbd[14217]: [2011/08/30 23:46:13.096980, 0] lib/util.c:1572(log_stack_trace)
Aug 30 23:46:13 amahi smbd[14217]: BACKTRACE: 6 stack frames:
Aug 30 23:46:13 amahi smbd[14217]: #0 smbd(log_stack_trace+0x1a) [0x7f9cbc2a7f1a]
Aug 30 23:46:13 amahi smbd[14217]: #1 smbd(+0x6783e0) [0x7f9cbc5a53e0]
Aug 30 23:46:13 amahi smbd[14217]: #2 smbd(+0x678761) [0x7f9cbc5a5761]
Aug 30 23:46:13 amahi smbd[14217]: #3 smbd(main+0x98d) [0x7f9cbc5a656d]
Aug 30 23:46:13 amahi smbd[14217]: #4 /lib64/libc.so.6(__libc_start_main+0xfd) [0x7f9cb90fbe5d]
Aug 30 23:46:13 amahi smbd[14217]: #5 smbd(+0xea6f9) [0x7f9cbc0176f9]
Aug 30 23:46:13 amahi smbd[14217]: [2011/08/30 23:46:13.097408, 0] lib/fault.c:326(dump_core)
Aug 30 23:46:13 amahi smbd[14217]: dumping core in /var/log/samba/cores/smbd
Aug 30 23:46:13 amahi smbd[14217]:
Aug 30 23:46:13 amahi nmbd[2073]: [2011/08/30 23:46:13.110018, 0] nmbd/nmbd.c:71(terminate)
Aug 30 23:46:13 amahi nmbd[2073]: Got SIGTERM: going down...
Aug 30 23:46:16 amahi abrt[14234]: saved core dump of pid 14217 (/usr/sbin/smbd) to /var/spool/abrt/ccpp-1314740773-14217.new/coredump (1875968 bytes)
Aug 30 23:46:16 amahi abrtd: Directory 'ccpp-1314740773-14217' creation detected
Aug 30 23:46:16 amahi abrtd: New crash /var/spool/abrt/ccpp-1314740773-14217, processing
Aug 30 23:46:16 amahi abrtd: Registered Action plugin 'RunApp'
Aug 30 23:46:16 amahi abrtd: RunApp('/var/spool/abrt/ccpp-1314740773-14217','test x"`cat component`" = x"xorg-x11-server-Xorg" && cp /var/log/Xorg.0.log .')
Aug 30 23:46:17 amahi nmbd[14247]: [2011/08/30 23:46:17.242137, 0] nmbd/asyncdns.c:155(start_async_dns)
Aug 30 23:46:17 amahi nmbd[14247]: started asyncdns process 14248
Aug 30 23:46:17 amahi yum[13908]: Updated: samba-3.5.11-79.fc14.x86_64
Aug 30 23:46:22 amahi yum[13908]: Updated: samba-client-3.5.11-79.fc14.x86_64
Aug 30 23:46:24 amahi yum[13908]: Updated: libsmbclient-3.5.11-79.fc14.x86_64
Aug 30 23:46:26 amahi yum[13908]: Updated: 2:gimp-libs-2.6.11-21.fc14.x86_64
Aug 30 23:46:27 amahi yum[13908]: Updated: 1:libmodplug-0.8.8.4-1.fc14.x86_64
Aug 30 23:46:29 amahi yum[13908]: Updated: perf-2.6.35.14-95.fc14.x86_64
Aug 30 23:46:31 amahi yum[13908]: Updated: gnome-python2-extras-2.25.3-32.fc14.1.x86_64
Aug 30 23:46:33 amahi yum[13908]: Updated: gnome-python2-libegg-2.25.3-32.fc14.1.x86_64
Aug 30 23:46:34 amahi yum[13908]: Updated: gnome-python2-gtkhtml2-2.25.3-32.fc14.1.x86_64
Aug 30 23:46:40 amahi nmbd[14247]: [2011/08/30 23:46:40.279287, 0] nmbd/nmbd_become_lmb.c:395(become_local_master_stage2)
Aug 30 23:46:40 amahi nmbd[14247]: *****
Aug 30 23:46:40 amahi nmbd[14247]:
Aug 30 23:46:40 amahi nmbd[14247]: Samba name server HDA is now a local master browser for workgroup WORKGROUP on subnet 192.168.0.101
Aug 30 23:46:40 amahi nmbd[14247]:
Aug 30 23:46:40 amahi nmbd[14247]: *****
Aug 30 23:46:40 amahi nmbd[14247]: [2011/08/30 23:46:40.279798, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail)
Aug 30 23:46:40 amahi nmbd[14247]: find_domain_master_name_query_fail:
Aug 30 23:46:40 amahi nmbd[14247]: Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Aug 30 23:46:40 amahi nmbd[14247]: Unable to sync browse lists in this workgroup.
Aug 30 23:46:44 amahi smbd[14273]: [2011/08/30 23:46:44.410429, 0] lib/util_sock.c:880(open_socket_in)
Aug 30 23:46:44 amahi smbd[14273]: bind failed on port 445 socket_addr = ::.
Aug 30 23:46:44 amahi smbd[14273]: Error = Address already in use
Aug 30 23:46:44 amahi smbd[14273]: [2011/08/30 23:46:44.411148, 0] smbd/server.c:501(smbd_open_one_socket)
Aug 30 23:46:44 amahi smbd[14273]: smbd_open_once_socket: open_socket_in: Address already in use
Aug 30 23:46:44 amahi smbd[14273]: [2011/08/30 23:46:44.411343, 0] lib/util_sock.c:880(open_socket_in)
Aug 30 23:46:44 amahi smbd[14273]: bind failed on port 139 socket_addr = ::.
Aug 30 23:46:44 amahi smbd[14273]: Error = Address already in use
Aug 30 23:46:44 amahi smbd[14273]: [2011/08/30 23:46:44.411521, 0] smbd/server.c:501(smbd_open_one_socket)
Aug 30 23:46:44 amahi smbd[14273]: smbd_open_once_socket: open_socket_in: Address already in use
Aug 30 23:46:44 amahi smbd[14273]: [2011/08/30 23:46:44.411638, 0] lib/util_sock.c:880(open_socket_in)
Aug 30 23:46:44 amahi smbd[14273]: bind failed on port 445 socket_addr = 0.0.0.0.
Aug 30 23:46:44 amahi smbd[14273]: Error = Address already in use
Aug 30 23:46:44 amahi smbd[14273]: [2011/08/30 23:46:44.411819, 0] smbd/server.c:501(smbd_open_one_socket)
Aug 30 23:46:44 amahi smbd[14273]: smbd_open_once_socket: open_socket_in: Address already in use
Aug 30 23:46:44 amahi smbd[14273]: [2011/08/30 23:46:44.411991, 0] lib/util_sock.c:880(open_socket_in)
Aug 30 23:46:44 amahi smbd[14273]: bind failed on port 139 socket_addr = 0.0.0.0.
Aug 30 23:46:44 amahi smbd[14273]: Error = Address already in use
Aug 30 23:46:44 amahi smbd[14273]: [2011/08/30 23:46:44.412074, 0] smbd/server.c:501(smbd_open_one_socket)
Aug 30 23:46:44 amahi smbd[14273]: smbd_open_once_socket: open_socket_in: Address already in use
Aug 30 23:46:44 amahi smbd[14273]: [2011/08/30 23:46:44.412266, 0] smbd/server.c:675(open_sockets_smbd)
Aug 30 23:46:44 amahi smbd[14273]: open_sockets_smbd: No sockets available to bind to.
Aug 30 23:46:44 amahi smbd[14273]: [2011/08/30 23:46:44.412532, 0] smbd/server.c:912(exit_server_common)
Aug 30 23:46:44 amahi smbd[14273]: ===============================================================
Aug 30 23:46:44 amahi smbd[14273]: [2011/08/30 23:46:44.412599, 0] smbd/server.c:914(exit_server_common)
Aug 30 23:46:44 amahi smbd[14273]: Abnormal server exit: open_sockets_smbd() failed
Aug 30 23:46:44 amahi smbd[14273]: [2011/08/30 23:46:44.412641, 0] smbd/server.c:915(exit_server_common)
Aug 30 23:46:44 amahi smbd[14273]: ===============================================================
Aug 30 23:46:44 amahi smbd[14273]: [2011/08/30 23:46:44.414582, 0] lib/util.c:1572(log_stack_trace)
Aug 30 23:46:44 amahi smbd[14273]: BACKTRACE: 6 stack frames:
Aug 30 23:46:44 amahi smbd[14273]: #0 smbd(log_stack_trace+0x1a) [0x7ffa53fc8f1a]
Aug 30 23:46:44 amahi smbd[14273]: #1 smbd(+0x6783e0) [0x7ffa542c63e0]
Aug 30 23:46:44 amahi smbd[14273]: #2 smbd(+0x678761) [0x7ffa542c6761]
Aug 30 23:46:44 amahi smbd[14273]: #3 smbd(main+0x98d) [0x7ffa542c756d]
Aug 30 23:46:44 amahi smbd[14273]: #4 /lib64/libc.so.6(__libc_start_main+0xfd) [0x7ffa50e1ce5d]
Aug 30 23:46:44 amahi smbd[14273]: #5 smbd(+0xea6f9) [0x7ffa53d386f9]
Aug 30 23:46:44 amahi smbd[14273]: [2011/08/30 23:46:44.414970, 0] lib/fault.c:326(dump_core)
Aug 30 23:46:44 amahi smbd[14273]: dumping core in /var/log/samba/cores/smbd
Aug 30 23:46:44 amahi smbd[14273]:
Aug 30 23:46:48 amahi abrt[14276]: saved core dump of pid 14273 (/usr/sbin/smbd) to /var/spool/abrt/ccpp-1314740804-14273.new/coredump (1875968 bytes)
Aug 30 23:46:48 amahi abrtd: Directory 'ccpp-1314740804-14273' creation detected
Aug 30 23:46:48 amahi abrtd: Crash is in database already (dup of /var/spool/abrt/ccpp-1314740773-14217)
Aug 30 23:46:48 amahi abrtd: Deleting crash ccpp-1314740804-14273 (dup of ccpp-1314740773-14217), sending dbus signal
Aug 30 23:46:55 amahi yum[13908]: Updated: firefox-3.6.20-1.fc14.x86_64
Aug 30 23:47:02 amahi yum[13908]: Updated: tzdata-2011h-2.fc14.noarch
Aug 30 23:47:09 amahi yum[13908]: Updated: tzdata-java-2011h-2.fc14.noarch
Aug 30 23:47:12 amahi transmission-daemon[20117]: Luther Starting DHT announce (firewalled, 178 nodes) (tr-dht.c:677)
Aug 30 23:47:13 amahi yum[13908]: Updated: system-config-keyboard-1.3.1-5.fc14.x86_64
Aug 30 23:47:16 amahi smbd[14309]: [2011/08/30 23:47:16.030663, 0] lib/util_sock.c:880(open_socket_in)
Aug 30 23:47:16 amahi smbd[14309]: bind failed on port 445 socket_addr = ::.
Aug 30 23:47:16 amahi smbd[14309]: Error = Address already in use
Aug 30 23:47:16 amahi smbd[14309]: [2011/08/30 23:47:16.031254, 0] smbd/server.c:501(smbd_open_one_socket)
Aug 30 23:47:16 amahi smbd[14309]: smbd_open_once_socket: open_socket_in: Address already in use
Aug 30 23:47:16 amahi smbd[14309]: [2011/08/30 23:47:16.031484, 0] lib/util_sock.c:880(open_socket_in)
Aug 30 23:47:16 amahi smbd[14309]: bind failed on port 139 socket_addr = ::.
Aug 30 23:47:16 amahi smbd[14309]: Error = Address already in use
Aug 30 23:47:16 amahi smbd[14309]: [2011/08/30 23:47:16.031686, 0] smbd/server.c:501(smbd_open_one_socket)
Aug 30 23:47:16 amahi smbd[14309]: smbd_open_once_socket: open_socket_in: Address already in use
Aug 30 23:47:16 amahi smbd[14309]: [2011/08/30 23:47:16.031872, 0] lib/util_sock.c:880(open_socket_in)
Aug 30 23:47:16 amahi smbd[14309]: bind failed on port 445 socket_addr = 0.0.0.0.
Aug 30 23:47:16 amahi smbd[14309]: Error = Address already in use
Aug 30 23:47:16 amahi smbd[14309]: [2011/08/30 23:47:16.032075, 0] smbd/server.c:501(smbd_open_one_socket)
Aug 30 23:47:16 amahi smbd[14309]: smbd_open_once_socket: open_socket_in: Address already in use
Aug 30 23:47:16 amahi smbd[14309]: [2011/08/30 23:47:16.032252, 0] lib/util_sock.c:880(open_socket_in)
Aug 30 23:47:16 amahi smbd[14309]: bind failed on port 139 socket_addr = 0.0.0.0.
Aug 30 23:47:16 amahi smbd[14309]: Error = Address already in use
Aug 30 23:47:16 amahi smbd[14309]: [2011/08/30 23:47:16.032459, 0] smbd/server.c:501(smbd_open_one_socket)
Aug 30 23:47:16 amahi smbd[14309]: smbd_open_once_socket: open_socket_in: Address already in use
Aug 30 23:47:16 amahi smbd[14309]: [2011/08/30 23:47:16.032589, 0] smbd/server.c:675(open_sockets_smbd)
Aug 30 23:47:16 amahi smbd[14309]: open_sockets_smbd: No sockets available to bind to.
Aug 30 23:47:16 amahi smbd[14309]: [2011/08/30 23:47:16.032897, 0] smbd/server.c:912(exit_server_common)
Aug 30 23:47:16 amahi smbd[14309]: ===============================================================
Aug 30 23:47:16 amahi smbd[14309]: [2011/08/30 23:47:16.033034, 0] smbd/server.c:914(exit_server_common)
Aug 30 23:47:16 amahi smbd[14309]: Abnormal server exit: open_sockets_smbd() failed
Aug 30 23:47:16 amahi smbd[14309]: [2011/08/30 23:47:16.033161, 0] smbd/server.c:915(exit_server_common)
Aug 30 23:47:16 amahi smbd[14309]: ===============================================================
Aug 30 23:47:16 amahi smbd[14309]: [2011/08/30 23:47:16.035063, 0] lib/util.c:1572(log_stack_trace)
Aug 30 23:47:16 amahi smbd[14309]: BACKTRACE: 6 stack frames:
Aug 30 23:47:16 amahi smbd[14309]: #0 smbd(log_stack_trace+0x1a) [0x7f6f22b76f1a]
Aug 30 23:47:16 amahi smbd[14309]: #1 smbd(+0x6783e0) [0x7f6f22e743e0]
Aug 30 23:47:16 amahi smbd[14309]: #2 smbd(+0x678761) [0x7f6f22e74761]
Aug 30 23:47:16 amahi smbd[14309]: #3 smbd(main+0x98d) [0x7f6f22e7556d]
Aug 30 23:47:16 amahi smbd[14309]: #4 /lib64/libc.so.6(__libc_start_main+0xfd) [0x7f6f1f9cae5d]
Aug 30 23:47:16 amahi smbd[14309]: #5 smbd(+0xea6f9) [0x7f6f228e66f9]
Aug 30 23:47:16 amahi smbd[14309]: [2011/08/30 23:47:16.035285, 0] lib/fault.c:326(dump_core)
Aug 30 23:47:16 amahi smbd[14309]: dumping core in /var/log/samba/cores/smbd
Aug 30 23:47:16 amahi smbd[14309]:
Aug 30 23:47:16 amahi abrt[14312]: saved core dump of pid 14309 (/usr/sbin/smbd) to /var/spool/abrt/ccpp-1314740836-14309.new/coredump (1875968 bytes)
Aug 30 23:47:16 amahi abrtd: Directory 'ccpp-1314740836-14309' creation detected
Aug 30 23:47:16 amahi abrtd: Crash is in database already (dup of /var/spool/abrt/ccpp-1314740773-14217)
Aug 30 23:47:16 amahi abrtd: Deleting crash ccpp-1314740836-14309 (dup of ccpp-1314740773-14217), sending dbus signal
Aug 30 23:47:28 amahi yum[13908]: Installed: kernel-2.6.35.14-95.fc14.x86_64
And after that core dumps every minute or two.
Then, since yesterday's reboot, it looks like the core dumps are gone! Except the Transmission "resumes", there's only a couple of these:
Code: Select all
Sep 20 00:07:13 amahi nmbd[2171]: [2011/09/20 00:07:13.247735, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail)
Sep 20 00:07:13 amahi nmbd[2171]: find_domain_master_name_query_fail:
Sep 20 00:07:13 amahi nmbd[2171]: Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Sep 20 00:07:13 amahi nmbd[2171]: Unable to sync browse lists in this workgroup.
Code: Select all
Sep 19 23:00:29 amahi smbd[6282]: [2011/09/19 23:00:29.769314, 0] lib/util_sock.c:474(read_fd_with_timeout)
Sep 19 23:00:29 amahi smbd[6282]: [2011/09/19 23:00:29.769567, 0] lib/util_sock.c:1441(get_peer_addr_internal)
Sep 19 23:00:29 amahi smbd[6282]: getpeername failed. Error was Transport endpoint is not connected
Sep 19 23:00:29 amahi smbd[6282]: read_fd_with_timeout: client 0.0.0.0 read error = No route to host.
So it looks to me like the Samba update just needed a reboot. Should I reboot more often after updates? The server ran about 5 weeks straigh, which I thought was ok for a linux machine.
Are there any other precautions I should be aware of to prevent such situation from happenning again please?