ENOLCK The kernel ran out of memory for allocating lock records.
Perhaps your file system doesn't support file locking at all?
On Thursday, July 24, 2014 9:28:48 PM UTC-4, Eugene Dedits wrote:
>
> I have the following block of output repeating over and over again:
>
> ---------------------------------------------------------------------------------------------------------------------------------
> stat("/home/eugene.dedits/.sage/ipython-1.2.1/profile_default/history.sqlite",
>
> {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
> rename("/home/eugene.dedits/.sage/ipython-1.2.1/profile_default/history.sqlite",
>
> "/home/eugene.dedits/.sage/ipython-1.2.1/profile_default/history-corrupt.sqlite")
>
> = 0
> stat("/home/eugene.dedits/.sage/ipython-1.2.1/profile_default/history.sqlite",
>
> 0x7fff56d268b0) = -1 ENOENT (No such file or directory)
> open("/home/eugene.dedits/.sage/ipython-1.2.1/profile_default/history.sqlite",
>
> O_RDWR|O_CREAT|O_CLOEXEC, 0644) = 3
> fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
> fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
> stat("/home/eugene.dedits/.sage/ipython-1.2.1/profile_default/history.sqlite",
>
> {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
> lseek(3, 0, SEEK_SET) = 0
> read(3, "", 100) = 0
> fstat(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
> stat("/home/eugene.dedits/.sage/ipython-1.2.1/profile_default/history.sqlite",
>
> {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
> close(4) = 0
> fcntl(3, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=1073741824,
> len=1}) = -1 ENOLCK (No locks available)
> nanosleep({0, 1000000}, NULL) = 0
> fcntl(3, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=1073741824,
> len=1}) = -1 ENOLCK (No locks available)
> nanosleep({0, 2000000}, NULL) = 0
> fcntl(3, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=1073741824,
> len=1}) = -1 ENOLCK (No locks available)
> nanosleep({0, 5000000}, NULL) = 0
> fcntl(3, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=1073741824,
> len=1}) = -1 ENOLCK (No locks available)
> nanosleep({0, 10000000}, NULL) = 0
> fcntl(3, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=1073741824,
> len=1}) = -1 ENOLCK (No locks available)
> nanosleep({0, 15000000}, NULL) = 0
> fcntl(3, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=1073741824,
> len=1}) = -1 ENOLCK (No locks available)
> nanosleep({0, 20000000}, NULL) = 0
> fcntl(3, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=1073741824,
> len=1}) = -1 ENOLCK (No locks available)
> nanosleep({0, 25000000}, NULL) = 0
> fcntl(3, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=1073741824,
> len=1}) = -1 ENOLCK (No locks available)
> nanosleep({0, 25000000}, NULL) = 0
> fcntl(3, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=1073741824,
> len=1}) = -1 ENOLCK (No locks available)
> nanosleep({0, 25000000}, NULL) = 0
> fcntl(3, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=1073741824,
> len=1}) = -1 ENOLCK (No locks available)
> nanosleep({0, 50000000}, NULL) = 0
> fcntl(3, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=1073741824,
> len=1}) = -1 ENOLCK (No locks available)
> nanosleep({0, 50000000}, NULL) = 0
> fcntl(3, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=1073741824,
> len=1}) = -1 ENOLCK (No locks available)
> nanosleep({0, 100000000}, NULL) = 0
> fcntl(3, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=1073741824,
> len=1}) = -1 ENOLCK (No locks available)
> nanosleep({0, 100000000}, NULL) = 0
> fcntl(3, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=1073741824,
> len=1}) = -1 ENOLCK (No locks available)
> nanosleep({0, 100000000}, NULL) = 0
> fcntl(3, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=1073741824,
> len=1}) = -1 ENOLCK (No locks available)
> ....
> repeats a few hundred times
> ...
> fcntl(3, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=1073741824,
> len=1}) = -1 ENOLCK (No locks available)
> nanosleep({0, 100000000}, NULL) = 0
> fcntl(3, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=1073741824,
> len=1}) = -1 ENOLCK (No locks available)
> nanosleep({0, 100000000}, NULL) = 0
> stat("/home/eugene.dedits/.sage/ipython-1.2.1/profile_default/history.sqlite",
>
> {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
>
> ---------------------------------------------------------------------------------------------------------------------------------
>
> What is going on here?
>
> Thanks,
> Eugene.
>
>
>
>
> On Thursday, July 24, 2014 5:57:51 PM UTC-4, Volker Braun wrote:
>>
>> Try "strace -f ./sage"
>>
>>
>> On Thursday, July 24, 2014 2:47:47 PM UTC-4, Eugene Dedits wrote:
>>>
>>> Hi Sage community.
>>>
>>>
>>> I've installed Sage 6.2 on CentOS box (CentOS release 6.3 (Final)) and I
>>> have troubles running it.
>>> Right after I type ./sage, it prints out a banner:
>>>
>>> > ./sage
>>> ┌────────────────────────────────────────────────────────────────────┐
>>> │ Sage Version 6.2, Release Date: 2014-05-06 │
>>> │ Type "notebook()" for the browser-based notebook interface. │
>>> │ Type "help()" for help. │
>>> └────────────────────────────────────────────────────────────────────┘
>>>
>>> and... that's all. I don't get a prompt. I've tried waiting for 15-20
>>> minutes (which is ridiculously long).
>>>
>>> I see the same behavior when I build from source and when I download
>>> binary distribution.
>>>
>>> Do you have any ideas about what goes wrong here?
>>>
>>> Thanks,
>>> Eugene.
>>>
>>>
>>>
>>>
>>
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.