[csw-maintainers] zeromq build failing on i386: Too many open files (signaler.cpp:300)
Dagobert Michelsen
dam at opencsw.org
Wed Jun 20 09:06:26 CEST 2012
Hi,
Am 20.06.2012 um 08:01 schrieb Carsten Grzemba:
> Am 20.06.12, schrieb Romeo Theriault <romeotheriault at opencsw.org>:
>> On Mon, Jun 18, 2012 at 6:42 PM, Maciej (Matchek) Bliziński
>> <maciej at opencsw.org> wrote:
>> > If you build the amd64 version, what happens?
>>
>> Hi Maciej, thanks for the response. I tried setting
>> BUILD64_LIBS_ONLY = 1
>
> This builds only libs 64-bit for other applications, client API etc.
>
> see http://sourceforge.net/apps/trac/gar/wiki/GAR%20Variable%20Reference
> so you need
>
> BUILD64 = 1
The variable reference lacked a description of
BUILD64_ONLY = 1
which means to build only the 64 bit version. I guess this is what you need to
verify the assumption on 64 bit.
>> in my Makefile and rebuilding but it still seems to be building the
>> 32bit version, because all the CFLAGS, LDFLAGS are still showing "-m32
>> -xarch=pentium_pro", etc... during the build process output.
You can see what flags are passed by using
mgar modenv
>> I also tried setting:
>>
>> EXTRA_CFLAGS += -xarch=amd64
Setting flags about optimization, ISA, memorymodel manually in CFLAGS is extremely
dangerous as it interferes with the flags GAR sets for you. If you want to make
changes please override/adjust the respective compile-specific variables:
http://sourceforge.net/apps/trac/gar/browser/csw/mgar/gar/v2/gar.conf.mk#L224
Usually this means selecting the correct ISA and then adding things as necessary.
>> Also, assuming it does build as 64bit it seems that all applications
>> that would need to link against it would need to be 64bit as well,
>> right?
Right.
To go back to your initial problem: Does the increased filehandles make it to the process?
Please inspect with plimit or gcore/mdb. If yes you need investigate why it still fails,
if no you need to investigate why it is not passed correctly.
Best regards
-- Dago
--
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896
More information about the maintainers
mailing list