[Freeswitch-users] Errors during compiling from today's 1.2.stable build

bedgar at vseinc.com bedgar at vseinc.com
Mon Nov 11 19:14:13 MSK 2013


Anthony,

Sorry that this is a pretty long thread.  I was finally able to pull a server from production to rerun the build using commit 60f3a9aec1b82155284366b4ecfda61785ec7ce9.  I am still encountering the issue.

/bin/sh: fork: retry: Resource temporarily unavailable
/bin/sh: fork: Resource temporarily unavailable
make[680]: *** [/home/fsbuild/src/freeswitch/libs/apr-util/libaprutil-1.la] Error 254
make[679]: *** [core] Error 2
make[678]: *** [/home/fsbuild/src/freeswitch/libs/apr-util/libaprutil-1.la] Error 2  - (repeats over and over until dying)

Brian

From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale
Sent: Saturday, November 9, 2013 1:13 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Errors during compiling from today's 1.2.stable build

Try latest, a recent patch someone made to the configure stuff seems to have triggered make recursion loop.
I reverted it.

On Sat, Nov 9, 2013 at 12:05 PM, Anthony Minessale <anthony.minessale at gmail.com<mailto:anthony.minessale at gmail.com>> wrote:
This is a pretty long thread....
The issue is something is spawning a ton of processes in the make and the system can't handle it do to limitations of some sort.
You should probably capture a full log of the build and look closely at what is happening right before it starts having the problem.


On Fri, Nov 8, 2013 at 11:51 PM, <bedgar at vseinc.com<mailto:bedgar at vseinc.com>> wrote:
Ken,

Okay.  Will do.  I will not leave the thread in a hang...

Regards,

Brian

From: freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org> [mailto:freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org>] On Behalf Of Ken Rice
Sent: Friday, November 8, 2013 11:04 PM

To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Errors during compiling from today's 1.2.stable build

There shouldn't be any impact... That particular flag was needed quite a while ago to avoid issues with stupidity in how "Enterprise Linux" platforms like to link to all sorts of things and shouldn't really be needed (imho that is)

I suspect something is wrong with that particular platform...

If you continue having build problems and can replicate it on another box, please get a log of bootstrap.sh, configure and make output and open a jira
See http://wiki.freeswitch.org/wiki/Reporting_Bugs

On 11/8/13 11:51 PM, "bedgar at vseinc.com<http://bedgar@vseinc.com>" <bedgar at vseinc.com<http://bedgar@vseinc.com>> wrote:
Ken,

What is the impact of remaking on an existing node's build without that configure parameter?

I still have yet to run through the iterations.  I did not use -j.  I am very careful of adding options.  The only other deviation I usually is ./devel-bootstrap which I did not use here.

I will post my results when possible.

Regards,

Brian




From: freeswitch-users-bounces at lists.freeswitch.org<http://freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Ken Rice
Sent: Friday, November 8, 2013 10:24 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Errors during compiling from today's 1.2.stable build

Gaaahhh  ok that's just wrong and I will remove that from the wiki... But you have something else wrong it appears... I just build using the command

./bootstrap.sh && ./configure --without-pgsql && make

Without issue on a fully updated centos 6.4 x86_64 install...

Are you sure you arent doing something like make -j?


On 11/8/13 11:00 PM, "bedgar at vseinc.com<http://bedgar@vseinc.com>" <bedgar at vseinc.com<http://bedgar@vseinc.com>> wrote:
Ken,

This is based on the wiki which has been followed precisely since moving to CentOS 6.x.  Is this no longer valid?  Is there a clarification needed in the wiki?

https://wiki.freeswitch.org/wiki/Installation_Guide#CentOS_.26_RedHat_Enterprise_Linux

Release(es) 6 and Later
A change by Red Hat in RHEL 6 and later releases was to compile the kernel to run tickless by default. As previously brought up on the mailing lists, it is recommended that the kernel's tickless feature should be disabled for optimum performance when running FreeSwitch under the newer operating system's kernel. You can disable the tickless feature by appending nohz=off to your boot options under GRUB. The GRUB start up configuration file is located under /boot/grub or as /etc/grub.conf. Add it to the line beginning with "kernel". This is also applicable to Fedora releases 8 and later.
Also, when using release 6 and later, make sure to configure with "./configure --without-pgsql", this is to make sure that FreeSWITCH uses it's own curl library, instead of the system provided, and that it doesn't try to use the system provided postgresql libs. If using the system provided versions linking errors will occur. Hopefully this will be auto detected in a near future. Related Jira issues were: FS-3384, FS-3630, FS-3384 and FS-3393.
In addition, FS may not behave 100% correctly in CentOS 6.x, please review Jira issues: FS-4396, FS-4316, FS-4291
UPDATE: We have anecdotal evidence that CentOS 6.3 does not seem to have the problems listed above. If you experience any of the above symptoms with CentOS 6.3 please comment on the Jira cases listed.


Brian



From: freeswitch-users-bounces at lists.freeswitch.org<http://freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Ken Rice
Sent: Friday, November 8, 2013 9:43 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Errors during compiling from today's 1.2.stable build

Why are you using -without-pgsql?


On 11/8/13 10:18 PM, "bedgar at vseinc.com<http://bedgar@vseinc.com>" <bedgar at vseinc.com<http://bedgar@vseinc.com>> wrote:
Sorry, Ken:

  ./bootstrap.sh
  ./configure --without-pgsql
  make
  sudo make install

These are my standard orders and were also followed in this case.

Brian


From: freeswitch-users-bounces at lists.freeswitch.org<http://freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Ken Rice
Sent: Friday, November 8, 2013 9:02 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Errors during compiling from today's 1.2.stable build

What configure line are you using, I don't have any problems on cent 5 or 6 32 and 64 bit versions


On 11/8/13 9:29 PM, "bedgar at vseinc.com<http://bedgar@vseinc.com>" <bedgar at vseinc.com<http://bedgar@vseinc.com>> wrote:
Ken and Anthony,

Sorry for the repost as it did not stay in the thread -

This is on a physical server that was already successfully running 1.2.14.  It is CentOS 6.4.

It was a fresh git to an empty directory.

Only special thing was the configure  requirement that I always do for CentOS.

Brian



From: freeswitch-users-bounces at lists.freeswitch.org<http://freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Ken Rice
Sent: Friday, November 8, 2013 5:28 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Errors during compiling from today's 1.2.stable build

What platform is this on?


On 11/8/13 5:57 PM, "bedgar at vseinc.com<http://bedgar@vseinc.com>" <bedgar at vseinc.com<http://bedgar@vseinc.com>> wrote:
I had trouble building from a git of 1.2.stable this afternoon.

bootstrap successful
configure successful
make - not so good

/bin/sh: fork: retry: Resource temporarily unavailable
/bin/sh: fork: retry: Resource temporarily unavailable
/bin/sh: fork: retry: Resource temporarily unavailable
/bin/sh: fork: retry: Resource temporarily unavailable
/bin/sh: fork: Resource temporarily unavailable
/bin/sh: fork: retry: Resource temporarily unavailable
/bin/sh: fork: retry: Resource temporarily unavailable
/bin/sh: fork: retry: Resource temporarily unavailable
/bin/sh: fork: retry: Resource temporarily unavailable

Had to kill the make with Ctrl-C

make[392]: *** [/home/fsbuild/src/freeswitch/libs/apr-util/libaprutil-1.la<http://libaprutil-1.la>] Interrupt
make[391]: *** [core] Interrupt

rsync'd from another server from a build that retrieved this morning and successfully installed after I did a git clean -d -f -x

Successful - FreeSWITCH Version 1.2.14+git~20131108T143841Z~0339e80780~64bit (git 0339e80 2013-11-08 14:38:41Z 64bit)

Did another git of the stable build and still had the same error.  Did something get borked in stable today?

Brian

________________________________




_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<http://consulting@freeswitch.org>
http://www.freeswitchsolutions.com




Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<http://FreeSWITCH-users@lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


--
Ken
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
G+ ClueCon :    http://fs0.us/cluecon-gplus
FB ClueCon :    http://fs0.us/cluecon-fb
G+ FreeSwitch : http://fs0.us/freeswitch-gplus
FB FreeSWITCH : http://fs0.us/freeswitch-fb
Twitter : @FreeSWITCH_WIRE
irc.freenode.net<http://irc.freenode.net> #freeswitch

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com




Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com<mailto:MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<mailto:PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net<http://irc.freenode.net> #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org<mailto:sip%3A888 at conference.freeswitch.org>
googletalk:conf+888 at conference.freeswitch.org<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:+19193869900<tel:%2B19193869900>



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com<mailto:MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<mailto:PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net<http://irc.freenode.net> #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org<mailto:sip%3A888 at conference.freeswitch.org>
googletalk:conf+888 at conference.freeswitch.org<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131111/65d80c03/attachment-0001.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list