* lots of luatex process/instances (ps xa| grep lua / top -----sort by memory)
@ 2009-05-10 18:05 Amaël Broustet
2009-05-10 18:14 ` Arthur Reutenauer
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Amaël Broustet @ 2009-05-10 18:05 UTC (permalink / raw)
To: ntg-context
Dear context users,
at first a lot of warm thanks for help and comments on using
t-simpleslides.
On a different matter, I now have the following problem :
I do a lot of testing trying compiling my slides (using the following
command : "context essai.tex"). Sometimes, I get errors and an
interactive prompt that I kill with either ctrl+C or ctrl+Z (at random).
I noticed that my computer was swapping (2Go RAM).
With "ps xa | grep lua" I get 34 process.
Using "top" and sorting by memory used the processes, I noticed 7
instances of luatex and 5 of texlua on the first page for a total of
800MB of resident memory.
Did I miss something using context (I do "context essai.tex" each time
that I want compile changes) ?
"killall luatex" and kill -15 PID does nothing.
Best,
Amaël
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: lots of luatex process/instances (ps xa| grep lua / top -----sort by memory)
2009-05-10 18:05 lots of luatex process/instances (ps xa| grep lua / top -----sort by memory) Amaël Broustet
@ 2009-05-10 18:14 ` Arthur Reutenauer
2009-05-10 18:36 ` Amaël Broustet
2009-05-10 18:25 ` Mohamed Bana
2009-05-10 19:44 ` Martin Schröder
2 siblings, 1 reply; 7+ messages in thread
From: Arthur Reutenauer @ 2009-05-10 18:14 UTC (permalink / raw)
To: Mailing list for ConTeXt users
> Sometimes, I get errors and an
> interactive prompt that I kill with either ctrl+C or ctrl+Z (at random).
You shouldn't do that. Type 'x' at the error prompt, it makes
(Lua)TeX terminate. Ctrl+C sometimes isn't enough to kill LuaTeX,
though I have no idea why; as for Ctrl+Z, it never kills anything, it
sends the suspend signal (you should see the process status with top).
> "killall luatex" and kill -15 PID does nothing.
kill -1 is usually enough.
Arthur
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: lots of luatex process/instances (ps xa| grep lua / top -----sort by memory)
2009-05-10 18:05 lots of luatex process/instances (ps xa| grep lua / top -----sort by memory) Amaël Broustet
2009-05-10 18:14 ` Arthur Reutenauer
@ 2009-05-10 18:25 ` Mohamed Bana
2009-05-10 18:41 ` Amaël Broustet
2009-05-10 19:44 ` Martin Schröder
2 siblings, 1 reply; 7+ messages in thread
From: Mohamed Bana @ 2009-05-10 18:25 UTC (permalink / raw)
To: mailing list for ConTeXt users
I've also noticed something along those lines. I've also found that
CTRL+Z/C doesn't really exit the program --- there are stale processes
still lying around.
What I described is general, it tends to happen across big documents.
Is this a known problem?
� Broustet wrote:
> Dear context users,
> at first a lot of warm thanks for help and comments on using
> t-simpleslides.
>
> On a different matter, I now have the following problem :
> I do a lot of testing trying compiling my slides (using the following
> command : "context essai.tex"). Sometimes, I get errors and an
> interactive prompt that I kill with either ctrl+C or ctrl+Z (at random).
>
> I noticed that my computer was swapping (2Go RAM).
> With "ps xa | grep lua" I get 34 process.
>
> Using "top" and sorting by memory used the processes, I noticed 7
> instances of luatex and 5 of texlua on the first page for a total of
> 800MB of resident memory.
>
> Did I miss something using context (I do "context essai.tex" each time
> that I want compile changes) ?
>
> "killall luatex" and kill -15 PID does nothing.
>
>
> Best,
> Amaël
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: lots of luatex process/instances (ps xa| grep lua / top -----sort by memory)
2009-05-10 18:25 ` Mohamed Bana
@ 2009-05-10 18:41 ` Amaël Broustet
2009-05-10 19:06 ` Arthur Reutenauer
0 siblings, 1 reply; 7+ messages in thread
From: Amaël Broustet @ 2009-05-10 18:41 UTC (permalink / raw)
To: mailing list for ConTeXt users
On a small example : ctrl+C works, ctrl+Z leaves unkillable (either -15
or -1) luatex and texlua process. kill -9 leaves zombies.
killing the parent shell clean everything.
Le dimanche 10 mai 2009 à 19:25 +0100, Mohamed Bana a écrit :
> I've also noticed something along those lines. I've also found that
> CTRL+Z/C doesn't really exit the program --- there are stale processes
> still lying around.
>
> What I described is general, it tends to happen across big documents.
>
> Is this a known problem?
>
> � Broustet wrote:
> > Dear context users,
> > at first a lot of warm thanks for help and comments on using
> > t-simpleslides.
> >
> > On a different matter, I now have the following problem :
> > I do a lot of testing trying compiling my slides (using the following
> > command : "context essai.tex"). Sometimes, I get errors and an
> > interactive prompt that I kill with either ctrl+C or ctrl+Z (at random).
> >
> > I noticed that my computer was swapping (2Go RAM).
> > With "ps xa | grep lua" I get 34 process.
> >
> > Using "top" and sorting by memory used the processes, I noticed 7
> > instances of luatex and 5 of texlua on the first page for a total of
> > 800MB of resident memory.
> >
> > Did I miss something using context (I do "context essai.tex" each time
> > that I want compile changes) ?
> >
> > "killall luatex" and kill -15 PID does nothing.
> >
> >
> > Best,
> > Amaël
> >
> > ___________________________________________________________________________________
> > If your question is of interest to others as well, please add an entry to the Wiki!
> >
> > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
> > archive : https://foundry.supelec.fr/projects/contextrev/
> > wiki : http://contextgarden.net
> > ___________________________________________________________________________________
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: lots of luatex process/instances (ps xa| grep lua / top -----sort by memory)
2009-05-10 18:05 lots of luatex process/instances (ps xa| grep lua / top -----sort by memory) Amaël Broustet
2009-05-10 18:14 ` Arthur Reutenauer
2009-05-10 18:25 ` Mohamed Bana
@ 2009-05-10 19:44 ` Martin Schröder
2 siblings, 0 replies; 7+ messages in thread
From: Martin Schröder @ 2009-05-10 19:44 UTC (permalink / raw)
To: mailing list for ConTeXt users
2009/5/10, Amaël Broustet <context@amael.net>:
> "killall luatex" and kill -15 PID does nothing.
Don't use killall. Linux != Unix.
Best
Martin
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-05-10 19:44 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-10 18:05 lots of luatex process/instances (ps xa| grep lua / top -----sort by memory) Amaël Broustet
2009-05-10 18:14 ` Arthur Reutenauer
2009-05-10 18:36 ` Amaël Broustet
2009-05-10 18:25 ` Mohamed Bana
2009-05-10 18:41 ` Amaël Broustet
2009-05-10 19:06 ` Arthur Reutenauer
2009-05-10 19:44 ` Martin Schröder
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).