1 \u043c\u0430\u044f 2014�\u0433. 10:43:17 CEST, manu@... \u043f\u0438\u0448\u0435\u0442:
>Bruncsak, Attila <attila.bruncsak@...> wrote:
>
>> Sometimes the milter-greylist (V4.5.10) hangs when trying to load new
>> configuration file. There are more than 24000 threads, all are
>blocked in
>> conf_update(). There is one thread which is executing the
>> conf_load_internal()
>
>
>Could you build with -g and check where exactly it stalls in
>conf_load_internal()?
>
>> Is it only me who is having this trouble?
>
>I must confess I never reload, I always restart.
I also used to always reload, though in my recent deployments I did switch to dynamic reloading by updating the config file. On this list I was kindly pointed to a command-line mode to verify the config file, so I only push a valid config to the service (I collect the configs on relays from several snippets maintained some in cvs and some locally, by a script).
However, since it all runs under Solaris SMF so failed services are restarted, and there are no more failures due to invalid configs, I'd have to verify if any of our hosts had spontaneous milter restarts this year ;)
Although a hang like yours likely won't cause a restart (process not dead?) and we don't update configs that often.
BTW, what is your deployment's scale (how many config lines, why so many threads)? Maybe size also matters? ;)
How often do you change the configs? Does the problem occur after a few reloads (i.e. may be leaks) or this can be on the first attempt?
//Jim
--
Typos courtesy of K-9 Mail on my Samsung Android