I have experienced severe troubles in a server running sagenb with sage versions greater than 7.3. I followed the advice to track which ticket was responsible for the troubles and it seems it is the upgrade to Ipython 5. Basically after a certain amount of activity the nb server was gone; after changing some parameters in ulimit (in the server), the nb server remain alive but at some point it disconnected from sage (no actual message indicating why) and it was possible to run some active worksheets but impossible to open any new one. We use server_pool for security and I can run any proposed test to discover the issue. Enrique Artal.
Thanks for the post. It sounds like the discussion has already been started at https://groups.google.com/forum/#!msg/sage-devel/WymRLQtiR4Y/GsSpHywLBQAJ so I will recommend anyone looking to check there too.I have experienced severe troubles in a server running sagenb with sage versions greater than 7.3. I followed the advice to track which ticket was responsible for the troubles and it seems it is the upgrade to Ipython 5. Basically after a certain amount of activity the nb server was gone; after changing some parameters in ulimit (in the server), the nb server remain alive but at some point it disconnected from sage (no actual message indicating why) and it was possible to run some active worksheets but impossible to open any new one. We use server_pool for security and I can run any proposed test to discover the issue. Enrique Artal.It seems very likely that IPython upgrades might cause this.
The sagenb standalone still works fine even with Sage 8.0 betas, so it must have something to do with server alone.Note that http://sagenb.mc.edu runs Sage 7.5 ; I've cc:ed the admin, who may have some comments.
--
You received this message because you are subscribed to the Google Groups "sage-notebook" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-notebook+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-notebook.
For more options, visit https://groups.google.com/d/optout.
On Thu, Apr 27, 2017 at 11:33 AM, kcrisman <kcri...@gmail.com> wrote:Thanks for the post. It sounds like the discussion has already been started at https://groups.google.com/forum/#!msg/sage-devel/WymRLQtiR4Y/GsSpHywLBQAJ so I will recommend anyone looking to check there too.I have experienced severe troubles in a server running sagenb with sage versions greater than 7.3. I followed the advice to track which ticket was responsible for the troubles and it seems it is the upgrade to Ipython 5. Basically after a certain amount of activity the nb server was gone; after changing some parameters in ulimit (in the server), the nb server remain alive but at some point it disconnected from sage (no actual message indicating why) and it was possible to run some active worksheets but impossible to open any new one. We use server_pool for security and I can run any proposed test to discover the issue. Enrique Artal.It seems very likely that IPython upgrades might cause this.By "very likely" do you actually mean "very **unlikely**"?I ask because -- at least when I wrote it -- there was no use of any of IPython in sagenb at all, and your sentence below doesn't seem to back up your assertion either.
The sagenb standalone still works fine even with Sage 8.0 betas, so it must have something to do with server alone.Note that http://sagenb.mc.edu runs Sage 7.5 ; I've cc:ed the admin, who may have some comments.
--
You received this message because you are subscribed to the Google Groups "sage-notebook" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-noteboo...@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-notebook.
For more options, visit https://groups.google.com/d/optout.
Finally I thinkf is that nginx configuration is to blame. The same notebook works if it is launched directly but it stops if one starts around 20 "heavy compuations" with nginx proxy. I do not know what should be modified to make it work. It seems that ipython5 opens more processes or files or whatever. Some ideas?
Enrique,
To the best of my knowledge the pull I requested and wrote that includes site_name and proper hostmonster internal link translation is NOT included in sagenb at present. You would have to install it yourself to get the functionality. I have not tried it with the latest sage releases so do not know if it would need some additional fixes to work.
Jonathan
--
You received this message because you are subscribed to the Google Groups "sage-notebook" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-noteboo...@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-notebook.
For more options, visit https://groups.google.com/d/optout.
-- Dr. Jonathan H. Gutow Chemistry Department gu...@uwosh.edu UW-Oshkosh Office:920-424-1326 800 Algoma Boulevard FAX:920-424-2042 Oshkosh, WI 54901 http://www.uwosh.edu/facstaff/gutow/
If I understand correctly you want your site to reside at the
root of the domain. You can do that in apache2. I recommend
against that because it reduces flexibility for your site. For
example, what happens when you need to bring up a test updated
site? If I recall hosting at the root even works OK behind a proxy
without the patches I made. The issue is mostly one of security so
that your site cannot be spoofed. Ideally all links in a site
should be absolute paths, but to do that and run something behind
a protective proxy like nginx or apache2 all the links have to be
properly rewritten. That is why I implemented the hostmonster
support.
Based on your description, I do not think the the work I did will
solve your problems. It will make it possible to run properly
behind an apache2 proxy. However, my patches did not touch the
server pool stuff. I have not looked at this stuff in at least a
year, but my recollection is that the server pool was used for
backend computations. All user interaction was still done through
the main server. Based on this I am going to take a wild guess
that the problem is something about how communications is being
controlled on your network between the participants in the pool.
Have you upgraded any OS stuff recently (OpenSSH or something like
that)?
Remember this is a wild guess and my expertise is far afield from this area. I do theoretical and experimental chemistry. I only got involved with this stuff because I was using Sagemath in my classes.
Jonathan