Cyril SCETBON scetbon at echo.fr
Fri Jun 6 06:31:59 PDT 2008
the same script but with blank lines and comment (beginning with # 
character) resolve the issue. It's certainly related to the number of 
consecutive statements. Is it a known BUG ?

Cyril SCETBON wrote:
> FYI, I'm using version 1.2.10
>
> Cyril SCETBON wrote:
>> Hi guys,
>>
>> When I try to create a lot of set slonik dies with segmentation fault 
>> message. The only way to succeed is to split the file containing the 
>> create set statement and to try them one by one or two by two. When I 
>> use strace on slonik it displays :
>>
>> read(3, "#--\n# Slony-I organizes tables i"..., 8192) = 8192
>> read(3, "d table (set id=5, origin=201, i"..., 8192) = 8192
>> read(3, ");\nset add table (set id=9, orig"..., 8192) = 8192
>> mmap(NULL, 18446744073709547520, PROT_READ|PROT_WRITE, 
>> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
>>
>> Is there a maximum number of lines ? a memory parameter to use with 
>> slonik ?
>>
>> thanks
>

-- 
Cyril SCETBON


More information about the Slony1-general mailing list