[Spce-user] Failed to create subscriber (couldn't open pipe to sendmail)

Matthias Hohl matthias.hohl at telematica.at
Mon Mar 2 10:56:23 EST 2015


yah it seams like it was an out of memory problem... 

ngcp-panel runs out of order and make a lot of "perl-fcgi" 
i have mr3.7.1 with 3GB of RAM and he used 3GB and 1,5GB Swap for about 100 subscribers. 

i checked the statistics and it seams that the ngcp fill up the RAM over days now... 

i restarted the ngcp-panel service and now again 50% of RAM are free again. 
i didn't modify any ngcp-panel configs or something like that... 

is this maybe a know problem..? is there any hotfix..? 

thanks for advice. 


Von: "Alexander Griesser" <ag at anexia.at> 
An: "Matthias Hohl" <matthias.hohl at telematica.at>, "Spce-user at lists.sipwise.com" <spce-user at lists.sipwise.com> 
Gesendet: Montag, 2. März 2015 15:48:55 
Betreff: AW: [Spce-user] Failed to create subscriber (couldn't open pipe to sendmail) 



Hi, 



looks like you don’t have enough free resources on your system. 

Can you post the output of `free –m` from the console? 

Can you see any out-of-memory messages in `dmesg`? 



Best, 




Alexander Griesser 

Head of Systems Operations 



ANEXIA Internetdienstleistungs GmbH 



E-Mail: ag at anexia.at 

Web: http://www.anexia.at 



Anschrift Hauptsitz Klagenfurt: Feldkirchnerstraße 140, 9020 Klagenfurt 

Geschäftsführer: Alexander Windbichler 

Firmenbuch: FN 289918a | Gerichtsstand: Klagenfurt | UID-Nummer: AT U63216601 





Von: Spce-user [mailto:spce-user-bounces at lists.sipwise.com] Im Auftrag von Matthias Hohl 
Gesendet: Montag, 2. März 2015 15:41 
An: Spce-user at lists.sipwise.com 
Betreff: [Spce-user] Failed to create subscriber (couldn't open pipe to sendmail) 





Hello, 





i created arround 100 subscribers last week without problems, but today i wanted to do the same but, everytime I press "save",tried it 3 times, I get "Failed to create subscriber" message on the webinterface. 





I checked /var/log/ngcp/panel.log and found this Error message " MSG="Failed to create subscriber (couldn't open pipe to sendmail (/usr/sbin/sendmail): Cannot allocate memory". 





Has anybody a solution for this..? 








Log: 





Mar 2 15:20:41 spce ngcp-panel: ERROR: IP=176.123.xx.xx CALLED=Controller::Subscriber::create_list TX=13C7B44B0DE85C50 USER=daniel 


DATA={ 'e164.cc' => '43', 'submitid' => '', 'webpassword' => '', 'status' => 'active', 'domain.id' => '1', 'webusername' => 'xxxx', 'username' => 'xxxx', 'save' => 'Save', 'contract.id' => '104', 'e164.ac' => '3385', 'email' => 'info at xxxx.at', 'password' => 'xxxxx', 'external_id' => '1902', 'profile_set.id' => '1', 'e164.sn' => '400000'} 





MSG="Failed to create subscriber (couldn't open pipe to sendmail (/usr/sbin/sendmail): Cannot allocate memory#012#012 


Trace begun at /usr/share/perl5/Email/Sender/Transport/Sendmail.pm line 65#012 


Email::Sender::Transport::Sendmail::_sendmail_pipe('Email::Sender::Transport::Sendmail=HASH(0x1773c0c0)', 'HASH(0x17763a30)') called at /usr/share/perl5/Email/Sender/Transport/Sendmail.pm line 74#012 


Email::Sender::Transport::Sendmail::send_email('Email::Sender::Transport::Sendmail=HASH(0x1773c0c0)', 'Email::Abstract=ARRAY(0x17732ce8)', 'HASH(0x17763a30)') called at /usr/share/perl5/Email/Sender/Role/CommonSending.pm line 27#012 


Email::Sender::Role::CommonSending::__ANON__ at /usr/share/perl5/Try/Tiny.pm line 76#012eval {...} at /usr/share/perl5/Try/Tiny.pm line 67#012 


Try::Tiny::try('CODE(0x17738dc0)', 'Try::Tiny::Catch=REF(0x1772ef60)') called at /usr/share/perl5/Email/Sender/Role/CommonSending.pm line 37#012 


Email::Sender::Role::CommonSending::send('Email::Sender::Transport::Sendmail=HASH(0x1773c0c0)', 'Email::Abstract=ARRAY(0x17732ce8)', 'HASH(0x177590e8)') called at /usr/share/perl5/Email/Sender/Simple.pm line 110#012 


Email::Sender::Simple::send_email('Email::Sender::Simple', 'Email::Abstract=ARRAY(0x17732ce8)', 'HASH(0x1772f488)') called at /usr/share/perl5/Email/Sender/Role/CommonSending.pm line 27#012 


Email::Sender::Role::CommonSending::__ANON__ at /usr/share/perl5/Try/Tiny.pm line 76#012eval {...} at /usr/share/perl5/Try/Tiny.pm line 67#012 


Try::Tiny::try('CODE(0x176d8818)', 'Try::Tiny::Catch=REF(0x176fba28)') called at /usr/share/perl5/Email/Sender/Role/CommonSending.pm line 37#012 


Email::Sender::Role::CommonSending::send('Email::Sender::Simple', 'Email::Simple=HASH(0x17689020)', 'HASH(0x17746df0)') called at /usr/share/perl5/NGCP/Panel/Utils/Email.pm line 26#012 


NGCP::Panel::Utils::Email::send_email('subject', 'Ein neuer VoIP SIP Account wurde fM-|r Sie erstellt.','body', 'Hurray!','from', 'support at xxx.at', 'to', 'info at xxxx.at')called at /usr/share/perl5/NGCP/Panel/Utils/Email.pm line 41#012 


NGCP::Panel::Utils::Email::send_template('NGCP::Panel=HASH(0x1769c480)', 'HASH(0x1771a478)', 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20150302/0c1bbd8f/attachment-0001.html>


More information about the Spce-user mailing list