Afp Shares and disconnect and connection refused

Status
Not open for further replies.

sparenton

Dabbler
Joined
Nov 12, 2012
Messages
16
Hi,

Everything is much better since i've wrote here the last time... I have my main freenas running, and have a backup one rsync'ed... feels better this way ;) The last time i've upgraded from 8.0.3 to 8.3.0 and had quite a lot of small problems such as disconnection when connecting with afp, slow transfer when connecting with cifs, and most of all a global unstability (the nas was to be reboot'ed every week or so). We've upgraded to 8.3.1 (beta3) and so far things are going much better... We don't have to reboot the nas every now and then, the CIFS seems to get much better, even if it's not perfect (but on the other hand, or network may not be perfect either... so i won't blame freenas for this ;) )

The problem of AFp is that we have people that works with macs, and these people are connected with afp shares. These shares go down in flames quite often (or at least too often in the users eyes ;) )... So i'd like to know if some of you ever had this kind of problem and if you did solve it ?

here's an extract from the logs :
Feb 18 09:51:18 NAS-01 kernel: Feb 18 09:51:18 NAS-01 afpd[87233]: ===============================================================
Feb 18 09:51:18 NAS-01 kernel: Feb 18 09:51:18 NAS-01 afpd[87233]: INTERNAL ERROR: Signal 11 in pid 87233 (2.2.4)
Feb 18 09:51:18 NAS-01 kernel: Feb 18 09:51:18 NAS-01 afpd[87233]: ===============================================================
Feb 18 09:51:23 NAS-01 kernel: Feb 18 09:51:23 NAS-01 afpd[87792]: afp_disconnect: primary reconnect failed
Feb 18 09:51:23 NAS-01 kernel: Feb 18 09:51:23 NAS-01 afpd[87792]: getfd: getsockopt says: Connection reset by peer
Feb 18 09:51:23 NAS-01 kernel: Feb 18 09:51:23 NAS-01 afpd[87792]: getfd: getsockopt says: Connection refused
Feb 18 09:51:23 NAS-01 kernel: Feb 18 09:51:23 NAS-01 afpd[87792]: tsock_getfd: no suitable network config from CNID server (localhost:4700): Connection refused
Feb 18 09:51:23 NAS-01 kernel: Feb 18 09:51:23 NAS-01 afpd[87792]: transmit: connection refused (db_dir /mnt/Vol0/users/********)
Feb 18 09:51:23 NAS-01 kernel: Feb 18 09:51:23 NAS-01 afpd[87792]: Reopen volume /mnt/Vol0/users/********using in memory temporary CNID DB.
Feb 18 09:51:24 NAS-01 kernel: Feb 18 09:51:24 NAS-01 afpd[87792]: write_vec: Connection reset by peer
Feb 18 09:51:24 NAS-01 kernel: Feb 18 09:51:24 NAS-01 afpd[87792]: init_tsock: Error/short write: Connection reset by peer
Feb 18 09:51:24 NAS-01 kernel: Feb 18 09:51:24 NAS-01 afpd[87792]: write_vec: Broken pipe
Feb 18 09:51:24 NAS-01 kernel: Feb 18 09:51:24 NAS-01 afpd[87792]: init_tsock: Error/short write: Broken pipe
Feb 18 09:51:25 NAS-01 kernel: Feb 18 09:51:25 NAS-01 afpd[87792]: write_vec: Connection reset by peer
Feb 18 09:51:25 NAS-01 kernel: Feb 18 09:51:25 NAS-01 afpd[87792]: init_tsock: Error/short write: Connection reset by peer
Feb 18 09:51:26 NAS-01 kernel: Feb 18 09:51:26 NAS-01 afpd[87792]: write_vec: Connection reset by peer
Feb 18 09:51:26 NAS-01 kernel: Feb 18 09:51:26 NAS-01 afpd[87792]: init_tsock: Error/short write: Connection reset by peer
Feb 18 09:51:27 NAS-01 kernel: Feb 18 09:51:27 NAS-01 afpd[87792]: write_vec: Connection reset by peer
Feb 18 09:51:27 NAS-01 kernel: Feb 18 09:51:27 NAS-01 afpd[87792]: init_tsock: Error/short write: Connection reset by peer
Feb 18 09:51:28 NAS-01 kernel: Feb 18 09:51:28 NAS-01 afpd[87792]: write_vec: Broken pipe
Feb 18 09:51:28 NAS-01 kernel: Feb 18 09:51:28 NAS-01 afpd[87792]: init_tsock: Error/short write: Broken pipe
Feb 18 09:51:29 NAS-01 kernel: Feb 18 09:51:29 NAS-01 afpd[87792]: write_vec: Connection reset by peer
Feb 18 09:51:29 NAS-01 kernel: Feb 18 09:51:29 NAS-01 afpd[87792]: init_tsock: Error/short write: Connection reset by peer
Feb 18 09:51:30 NAS-01 kernel: Feb 18 09:51:30 NAS-01 afpd[87792]: write_vec: Connection reset by peer
Feb 18 09:51:30 NAS-01 kernel: Feb 18 09:51:30 NAS-01 afpd[87792]: init_tsock: Error/short write: Connection reset by peer
Feb 18 09:51:31 NAS-01 kernel: Feb 18 09:51:31 NAS-01 afpd[87792]: write_vec: Connection reset by peer
Feb 18 09:51:31 NAS-01 kernel: Feb 18 09:51:31 NAS-01 afpd[87792]: init_tsock: Error/short write: Connection reset by peer
Feb 18 09:51:32 NAS-01 kernel: Feb 18 09:51:32 NAS-01 afpd[87792]: write_vec: Connection reset by peer
Feb 18 09:51:33 NAS-01 kernel: Feb 18 09:51:33 NAS-01 afpd[87792]: write_vec: Connection reset by peer
Feb 18 09:51:33 NAS-01 kernel: Feb 18 09:51:33 NAS-01 afpd[87792]: init_tsock: Error/short write: Connection reset by peer
Feb 18 09:51:34 NAS-01 kernel: Feb 18 09:51:34 NAS-01 afpd[87792]: write_vec: Broken pipe
Feb 18 09:51:34 NAS-01 kernel: Feb 18 09:51:34 NAS-01 afpd[87792]: init_tsock: Error/short write: Broken pipe
Feb 18 09:51:35 NAS-01 kernel: Feb 18 09:51:35 NAS-01 afpd[87792]: write_vec: Broken pipe
Feb 18 09:51:35 NAS-01 kernel: Feb 18 09:51:35 NAS-01 afpd[87792]: init_tsock: Error/short write: Broken pipe
Feb 18 09:51:36 NAS-01 kernel: Feb 18 09:51:36 NAS-01 afpd[87792]: write_vec: Connection reset by peer
Feb 18 09:51:36 NAS-01 kernel: Feb 18 09:51:36 NAS-01 afpd[87792]: init_tsock: Error/short write: Connection reset by peer
Feb 18 09:51:37 NAS-01 kernel: Feb 18 09:51:37 NAS-01 afpd[87792]: write_vec: Broken pipe
Feb 18 09:51:37 NAS-01 kernel: Feb 18 09:51:37 NAS-01 afpd[87792]: init_tsock: Error/short write: Broken pipe
Feb 18 09:51:38 NAS-01 kernel: Feb 18 09:51:38 NAS-01 afpd[87792]: write_vec: Connection reset by peer
Feb 18 09:51:38 NAS-01 kernel: Feb 18 09:51:38 NAS-01 afpd[87792]: init_tsock: Error/short write: Connection reset by peer
Feb 18 09:51:39 NAS-01 kernel: Feb 18 09:51:39 NAS-01 afpd[87792]: write_vec: Broken pipe
Feb 18 09:51:39 NAS-01 kernel: Feb 18 09:51:39 NAS-01 afpd[87792]: init_tsock: Error/short write: Broken pipe
Feb 18 09:51:40 NAS-01 kernel: Feb 18 09:51:40 NAS-01 afpd[87792]: write_vec: Broken pipe
Feb 18 09:51:40 NAS-01 kernel: Feb 18 09:51:40 NAS-01 afpd[87792]: init_tsock: Error/short write: Broken pipe
Feb 18 09:51:41 NAS-01 kernel: Feb 18 09:51:41 NAS-01 afpd[87792]: write_vec: Broken pipe
Feb 18 09:51:41 NAS-01 kernel: Feb 18 09:51:41 NAS-01 afpd[87792]: init_tsock: Error/short write: Broken pipe
Feb 18 09:51:42 NAS-01 kernel: Feb 18 09:51:42 NAS-01 afpd[87792]: write_vec: Broken pipe
Feb 18 09:51:42 NAS-01 kernel: Feb 18 09:51:42 NAS-01 afpd[87792]: init_tsock: Error/short write: Broken pipe
Feb 18 09:51:43 NAS-01 kernel: Feb 18 09:51:43 NAS-01 afpd[87792]: write_vec: Broken pipe
Feb 18 09:51:43 NAS-01 kernel: Feb 18 09:51:43 NAS-01 afpd[87792]: init_tsock: Error/short write: Broken pipe
Feb 18 09:51:44 NAS-01 kernel: Feb 18 09:51:44 NAS-01 afpd[87792]: write_vec: Broken pipe
Feb 18 09:51:44 NAS-01 kernel: Feb 18 09:51:44 NAS-01 afpd[87792]: init_tsock: Error/short write: Broken pipe
Feb 18 09:51:45 NAS-01 kernel: Feb 18 09:51:45 NAS-01 afpd[87792]: write_vec: Connection reset by peer
Feb 18 09:51:45 NAS-01 kernel: Feb 18 09:51:45 NAS-01 afpd[87792]: init_tsock: Error/short write: Connection reset by peer
Feb 18 09:51:45 NAS-01 kernel: Feb 18 09:51:45 NAS-01 afpd[87792]: transmit: Request to dbd daemon (db_dir /mnt/Vol0/********) timed out.
Feb 18 09:51:45 NAS-01 kernel: Feb 18 09:51:45 NAS-01 afpd[87792]: write_vec: Broken pipe
Feb 18 09:51:45 NAS-01 kernel: Feb 18 09:51:45 NAS-01 afpd[87792]: init_tsock: Error/short write: Broken pipe
Feb 18 09:51:45 NAS-01 kernel: Feb 18 09:51:45 NAS-01 afpd[87792]: write_vec: Broken pipe
Feb 18 09:51:45 NAS-01 kernel: Feb 18 09:51:45 NAS-01 afpd[87792]: init_tsock: Error/short write: Broken pipe
Feb 18 09:51:46 NAS-01 kernel: Feb 18 09:51:46 NAS-01 afpd[87792]: getfd: getsockopt says: Connection reset by peer
Feb 18 09:51:46 NAS-01 kernel: Feb 18 09:51:46 NAS-01 afpd[87792]: getfd: getsockopt says: Connection refused
Feb 18 09:51:46 NAS-01 kernel: Feb 18 09:51:46 NAS-01 afpd[87792]: tsock_getfd: no suitable network config from CNID server (localhost:4700): Connection refused
Feb 18 09:51:46 NAS-01 kernel: Feb 18 09:51:46 NAS-01 afpd[87792]: transmit: connection refused (db_dir /mnt/Vol0/********)
Feb 18 09:51:46 NAS-01 kernel: Feb 18 09:51:46 NAS-01 afpd[87792]: ===============================================================
Feb 18 09:51:46 NAS-01 kernel: Feb 18 09:51:46 NAS-01 afpd[87792]: INTERNAL ERROR: Signal 10 in pid 87792 (2.2.4)
Feb 18 09:51:46 NAS-01 kernel: Feb 18 09:51:46 NAS-01 afpd[87792]: ===============================================================
Feb 18 09:51:51 NAS-01 kernel: Feb 18 09:51:51 NAS-01 afpd[87824]: afp_disconnect: primary reconnect failed
Feb 18 09:51:51 NAS-01 kernel: Feb 18 09:51:51 NAS-01 afpd[87824]: getfd: getsockopt says: Connection reset by peer
Feb 18 09:51:51 NAS-01 kernel: Feb 18 09:51:51 NAS-01 afpd[87824]: getfd: getsockopt says: Connection refused
Feb 18 09:51:51 NAS-01 kernel: Feb 18 09:51:51 NAS-01 afpd[87824]: tsock_getfd: no suitable network config from CNID server (localhost:4700): Connection refused
Feb 18 09:51:51 NAS-01 kernel: Feb 18 09:51:51 NAS-01 afpd[87824]: transmit: connection refused (db_dir /mnt/Vol0/********)
Feb 18 09:51:51 NAS-01 kernel: Feb 18 09:51:51 NAS-01 afpd[87824]: getfd: getsockopt says: Connection reset by peer
Feb 18 09:51:51 NAS-01 kernel: Feb 18 09:51:51 NAS-01 afpd[87824]: getfd: getsockopt says: Connection refused
Feb 18 09:51:51 NAS-01 kernel: Feb 18 09:51:51 NAS-01 afpd[87824]: tsock_getfd: no suitable network config from CNID server (localhost:4700): Connection refused
Feb 18 09:51:51 NAS-01 kernel: Feb 18 09:51:51 NAS-01 afpd[87824]: transmit: connection refused (db_dir /mnt/Vol0/**********)
Feb 18 09:51:51 NAS-01 kernel: Feb 18 09:51:51 NAS-01 afpd[87824]: Reopen volume /mnt/Vol0/********* using in memory temporary CNID DB.
Feb 18 09:51:51 NAS-01 kernel: Feb 18 09:51:51 NAS-01 afpd[87824]: write_vec: Connection reset by peer
Feb 18 09:51:51 NAS-01 kernel: Feb 18 09:51:51 NAS-01 afpd[87824]: init_tsock: Error/short write: Connection reset by peer
Feb 18 09:51:51 NAS-01 kernel: Feb 18 09:51:51 NAS-01 afpd[87824]: getfd: getsockopt says: Connection reset by peer
Feb 18 09:51:51 NAS-01 kernel: Feb 18 09:51:51 NAS-01 afpd[87824]: getfd: getsockopt says: Connection refused
Feb 18 09:51:51 NAS-01 kernel: Feb 18 09:51:51 NAS-01 afpd[87824]: tsock_getfd: no suitable network config from CNID server (localhost:4700): Connection refused
Feb 18 09:51:51 NAS-01 kernel: Feb 18 09:51:51 NAS-01 afpd[87824]: transmit: connection refused (db_dir /mnt/Vol0/users/********)

What confuses me is that sometimes it works, and sometimes not... the config does not change, and i can't see why the context is changing enough so the share fails...

Thanks in advance for your help ;)

regards
 
Status
Not open for further replies.
Top