Thanks for the hint to ulimit. It was not the solution, but helped seeing
the problem. The ulimit was originally set to 1024. When I raise it (1536 or
2048) ASSP still crashes, but tells me more:

------------------------------------
ASSP 2.4.4(14307) is starting in directory /opt/assp
on host mail
using Perl /usr/bin/perl version 5.020001 (5.20.1)
compiling code please wait ..... checking config in /opt/assp/assp.cfg - OK
ASSP uses AsspSelfLoader 2.03 - check                   [OK]
loading configuration                                   [OK]
1146 values loaded                                      [OK]
defining environment                                            [OK]
setting up global ENV                                   [OK]
loading modules.........U                               [OK]
loading database drivers                                [OK]
setup regular expressions                               [OK]
loading plugins                                         [OK]
fixing up config                                        [OK]
check process env                                       [SKIP]
check process permission                                [OK]
setting up modules..........                            [OK]
checking directories                                    [OK]
check file permission                                   [OK]
loading caches and lists                                [OK]
starting maintenance worker thread -> init all databases
starting maintenance worker thread                      [OK]
starting 5 communication worker threads .....           [OK]
starting rebuild SpamDB worker thread                   [OK]
initializing main thread and logging                    [OK]
Warning: Failed to connect to the agentx master agent (tcp:localhost:705):
*** buffer overflow detected ***: /usr/bin/perl /opt/assp/assp.pl MainLoop -
next: Wed Nov  5 07:12:50 2014 terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7303f)[0x7fd5403d103f]
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7fd540454137]
/lib/x86_64-linux-gnu/libc.so.6(+0xf4350)[0x7fd540452350]
/lib/x86_64-linux-gnu/libc.so.6(+0xf60a7)[0x7fd5404540a7]
/usr/lib/x86_64-linux-gnu/libnetsnmp.so.30(netsnmp_large_fd_set_resize+0x48)
[0x7fd539d1a718]
/usr/lib/x86_64-linux-gnu/libnetsnmp.so.30(netsnmp_large_fd_setfd+0x24)[0x7f
d539d1a924]
/usr/lib/x86_64-linux-gnu/libnetsnmp.so.30(snmp_sess_select_info2_flags+0xbd
)[0x7fd539cfad8d]
/usr/lib/x86_64-linux-gnu/libnetsnmp.so.30(snmp_sess_select_info_flags+0x70)
[0x7fd539cfb4c0]
/usr/lib/x86_64-linux-gnu/libnetsnmpagent.so.30(agent_check_and_process+0x76
)[0x7fd538dc3866]
/usr/lib/x86_64-linux-gnu/perl5/5.20/auto/NetSNMP/agent/agent.so(+0x576e)[0x
7fd53948d76e]
/usr/lib/x86_64-linux-gnu/libperl.so.5.20(Perl_pp_entersub+0x4bb)[0x7fd540ef
55db]
/usr/lib/x86_64-linux-gnu/libperl.so.5.20(Perl_runops_standard+0x16)[0x7fd54
0eede76]
/usr/lib/x86_64-linux-gnu/libperl.so.5.20(perl_run+0x21d)[0x7fd540e7ed4d]
/usr/bin/perl /opt/assp/assp.pl MainLoop - next: Wed Nov  5 07:12:50
2014(main+0x149)[0x400e19]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7fd54037fb45]
/usr/bin/perl /opt/assp/assp.pl MainLoop - next: Wed Nov  5 07:12:50
2014[0x400e51]
======= Memory map: ========
[ lengthy Memory Map left out here ]
------------------------------------

I then deactivated SNMP in ASSP.cfg, because Agent X appears to be involved:
SNMPLog:=0
SNMP:=0
useNetSNMPagent:=0

Now ASSP is starting and hopefully working as it always used to.

Regards
Dirk

-----Ursprüngliche Nachricht-----
Von: aquilinux [mailto:aquili...@gmail.com] 
Gesendet: Mittwoch, 5. November 2014 05:54
An: ASSP development mailing list
Betreff: Re: [Assp-test] ASSP crashes after updates - too many open files

try setting a higher open files limit.
you can see actual value with *ulimit -n* and set new value with *ulimit -n
value*.
2048 should be reasonably high to allow your assp to start (*ulimit -n 2048*
)

regards,

On Tue, Nov 4, 2014 at 10:29 PM, Dirk Kulmsee <d.kulm...@netgroup.de> wrote:

> Hi everybody,
> I have been running ASSP 2.4.4 (14264) on Debian jessie with perl 5.20 
> for some weeks. Today I updated the whole system (i.e. Debian Updates, 
> cpan updates, some newer files from ASSP). Well, never change a 
> winning team :-).
> If I try to start ASSP now it crashes in less than 30 seconds without 
> ever writing to log/maillog.txt.
> I set AsADaemon:=0 and got this output:
>
> -----------------------------------------
> ASSP 2.4.4(14307) is starting in directory /opt/assp on host mail 
> using Perl /usr/bin/perl version 5.020001 (5.20.1) compiling code 
> please wait ..... checking config in /opt/assp/assp.cfg - OK
> ASSP uses AsspSelfLoader 2.03 - check                   [OK]
> loading configuration                                   [OK]
> 1146 values loaded                                      [OK]
> defining environment                                            [OK]
> setting up global ENV                                   [OK]
> loading modules.........U                               [OK]
> loading database drivers                                [OK]
> setup regular expressions                               [OK]
> loading plugins                                         [OK]
> fixing up config                                        [OK]
> check process env                                       [SKIP]
> check process permission                                [OK]
> setting up modules..........                            [OK]
> checking directories                                    [OK]
> check file permission                                   [OK]
> loading caches and lists                                [OK]
> starting maintenance worker thread -> init all databases
> starting maintenance worker thread                      [OK]
> starting 5 communication worker threads .....           [OK]
> starting rebuild SpamDB worker thread                   [FAILED]
> initializing main thread and logging                    [OK]
> error: AsspSelfLoader is unable to load code from file 
> /opt/assp/sl-cache/main-openLogs.sl - Zu viele offene Dateien
> -----------------------------------------
>
> I stopped other services on this host to reduce the number of open 
> files, but that didn't help.
> I am stuck with this error even if I boot an older Kernel or take an 
> older version of assp.pl.
> Maybe ASSP is right - there are 994 files in /opt/assp/sl-cache.
> Any ideas how to proceed?
>
> Thanks for your help
> Dirk
>
>
>
>
> ----------------------------------------------------------------------
> -------- _______________________________________________
> Assp-test mailing list
> Assp-test@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/assp-test
>



--
"Madness, like small fish, runs in hosts, in vast numbers of instances."

Nessuno mi pettina bene come il vento.
----------------------------------------------------------------------------
--
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test


------------------------------------------------------------------------------
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to