The setup here involves several MX servers, each with their own instance of policyd. There is another server which has the mysql server that all instances of policyd use. Recently, I've been having a problem with that server losing its network interface for a while (usually while I'm at home).
>From what I can see, when the database server comes back up, policyd will sometimes stop. I haven't established how long the server needs to be down for this to happen. What I do see, though, is that when policyd fails, is happens right as the server is coming back online. It also doesn't always happen. After a four and a half hour downtime, policyd on all of the mx servers stopped. Then, after a two hour downtime, policyd only stopped on one of the servers. Another point of interest is that policyd on one of the servers yesterday put itself into DEBUG mode right before failing. I was not on the server at the time, so I don't think it's anything that I did. Here are some debug logs from immediately before it stopped. Dec 31 11:56:48 remus policyd: connection from: 127.0.0.1 port: 41140 slots: 43 of 1024 used Dec 31 11:56:48 remus policyd: DEBUG: fd: 1024 select(): fd 1024 is ready for read Dec 31 11:56:48 remus policyd: DEBUG: fd 1024: w_read: returning -2 after reading 528 by tes Dec 31 11:56:48 remus policyd: DEBUG: fd: 1024 host_array[1024][0]: c-67-180-216-110.hsd1.ca.comcast.net Dec 31 11:56:48 remus policyd: DEBUG: fd: 1024 host_array[1024][2]: 67.180.216.110 Dec 31 11:56:48 remus policyd: DEBUG: fd: 1024 host_array[1024][3]: 67.180.216.% Dec 31 11:56:48 remus policyd: DEBUG: fd: 1024 host_array[1024][4]: 67.180.%.% Dec 31 11:56:48 remus policyd: DEBUG: fd: 1024 host_array[1024][5]: 67.%.%.% Dec 31 11:56:48 remus policyd: DEBUG: fd: 1024 host_array[1024][6]: hushenterprises.com Dec 31 11:56:48 remus policyd: DEBUG: fd: 1024 host_array[1024][7]: newviewwindow.com Dec 31 11:56:48 remus policyd: DEBUG: fd: 1024 host_array[1024][8]: **** Dec 31 11:56:48 remus policyd: DEBUG: fd: 1024 host_array[1024][9]: **** Dec 31 11:56:48 remus policyd: DEBUG: fd: 1024 triplet_array[1024][0]: 67.180.216 Dec 31 11:56:48 remus policyd: DEBUG: fd: 1024 triplet_array[1024][1]: [EMAIL PROTECTED] Dec 31 11:56:48 remus policyd: DEBUG: fd: 1024 triplet_array[1024][2]: **** Dec 31 11:56:48 remus policyd: DEBUG: fd: 1024 triplet_array[1024][3]: 0 Dec 31 11:56:48 remus policyd: DEBUG: fd: 1024 triplet_array[1024][5]: localhost Dec 31 11:56:48 remus policyd: DEBUG: fd: 1024 triplet_array[1024][6]: 73f5.4597ebcc.a5135.0 Dec 31 11:56:48 remus policyd: DEBUG: fd: 1024 database_probe(): mysql_ping Dec 31 11:56:48 remus policyd: DEBUG: fd: 1024 database_probe(): reconnecting.. Dec 31 11:56:48 remus policyd: connecting to mysql database: (null) -- Marshal Newrock, Ideal Solution LLC http://www.idealso.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ policyd-users mailing list policyd-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/policyd-users