You right, I forgot... But you may try by raising the limit... Is there any open issue for pandas about that... This is not normal... If I remember it does that only in web2py environment?
If the issue occurs on import pandas as pd why I don't have it?? I have : limit-as 512 I have pandas 0.19.0 Ubuntu 16.04 64 bit web2py 2.14.6 uwsgi 2.0.14 Richard On Mon, Oct 24, 2016 at 10:55 AM, Jim Steil <ato.st...@gmail.com> wrote: > Thanks for the comment Richard - At the point it crashes I don't believe > it is an issue with my app. It crashes on - import pandas as pd - so, I > don't think it is anything I'm doing in my code. > > -Jim > > On Mon, Oct 24, 2016 at 9:48 AM, Richard Vézina < > ml.richard.vez...@gmail.com> wrote: > >> I suggest you try to raise the limit... I don't know why it get in the >> configuration file, but I read it could be use to prevent memory leaks. >> It's also help preventing app from eating all the memory before crash the >> system... You maybe better understand why you code need so much memory and >> try to limit the size of your data set if you can... For instance, maybe >> you pull more data from the backend than you really need for your pandas >> analysis? >> >> http://uwsgi-docs-additions.readthedocs.io/en/latest/Options >> .html#limit-as >> >> Glad that you found a lead to resolve you issue. >> >> Richard >> >> On Fri, Oct 21, 2016 at 2:30 PM, Jim S <j...@qlf.com> wrote: >> >>> Started looking in to this issue again today and found this: >>> http://stackoverflow.com/questions/19439190/segmentation-fa >>> ult-while-using-pandas-in-uwsgi >>> >>> I took the advice of Roberto and removed the --limit-as in >>> /etc/uwsgi/web2py.ini - and now it seems to work find. I am clueless as to >>> what is going on here, but am really hoping that I've found a solution. >>> Will report back if I have more news. >>> >>> -Jim >>> >>> >>> On Wednesday, August 17, 2016 at 4:25:19 PM UTC-5, Jim S wrote: >>>> >>>> Thanks Dave >>>> >>>> While my stated question was specific to haproxy, I'm really speaking >>>> in more general terms as to whether or not the rocket server would be >>>> sufficient behind ANY load balancer. I know I could have setup nginx as >>>> the load balancer, but haproxy was really quite simple. >>>> >>>> I'm going to read through you link, thank you for that. >>>> >>>> -Jim >>>> >>>> >>>> On Wed, Aug 17, 2016 at 4:04 PM, Dave S <snidely....@gmail.com> wrote: >>>> >>>>> >>>>> >>>>> On Wednesday, August 17, 2016 at 1:15:58 PM UTC-7, Jim S wrote: >>>>>> >>>>>> Anyone else have thoughts on why I shouldn't use the rocket webserver >>>>>> behind haproxy? >>>>>> >>>>>> >>>>> Well, before today I didn't know anything about haproxy, but it seems >>>>> to have a good reputation as a load balancer. So it should take care of >>>>> scaling. >>>>> I haven't yet found out about its security features. >>>>> >>>>> This page gives haproxy high marks from actual users, but most of the >>>>> posts go back several years. The most recent post >>>>> provides an update of nginx's capabilities as of about a year ago. >>>>> <URL:https://www.quora.com/Which-software-load-balancer-is-b >>>>> etter-HAProxy-or-nginx> >>>>> >>>>> /dps >>>>> >>>>> >>>>> -- >>>>> Resources: >>>>> - http://web2py.com >>>>> - http://web2py.com/book (Documentation) >>>>> - http://github.com/web2py/web2py (Source code) >>>>> - https://code.google.com/p/web2py/issues/list (Report Issues) >>>>> --- >>>>> You received this message because you are subscribed to a topic in the >>>>> Google Groups "web2py-users" group. >>>>> To unsubscribe from this topic, visit https://groups.google.com/d/to >>>>> pic/web2py/MTOjl8gPuTk/unsubscribe. >>>>> To unsubscribe from this group and all its topics, send an email to >>>>> web2py+unsubscr...@googlegroups.com. >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> -- >>> Resources: >>> - http://web2py.com >>> - http://web2py.com/book (Documentation) >>> - http://github.com/web2py/web2py (Source code) >>> - https://code.google.com/p/web2py/issues/list (Report Issues) >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "web2py-users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to web2py+unsubscr...@googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> Resources: >> - http://web2py.com >> - http://web2py.com/book (Documentation) >> - http://github.com/web2py/web2py (Source code) >> - https://code.google.com/p/web2py/issues/list (Report Issues) >> --- >> You received this message because you are subscribed to a topic in the >> Google Groups "web2py-users" group. >> To unsubscribe from this topic, visit https://groups.google.com/d/to >> pic/web2py/MTOjl8gPuTk/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> web2py+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.