Differences between revisions 1 and 2
Revision 1 as of 2019-02-05 10:56:30
Size: 735
Editor: PieterSmit
Comment:
Revision 2 as of 2020-10-16 01:00:29
Size: 941
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

 * 2020 in /var/log/uwsgi/app.log MemoryError - and restart.
   * Add to /etc/uwsgi/default.conf {{{
max-requests = 1000
}}}
     * this causes uwsgi restart and cleanup after 1000 requests served.

MoinMoin/Errors

  • 2020 in /var/log/uwsgi/app.log MemoryError - and restart.

    • Add to /etc/uwsgi/default.conf

      max-requests = 1000
      • this causes uwsgi restart and cleanup after 1000 requests served.
  • 2019 after upgrade to Ubuntu 18.04.1 nginx -> uwsgi -> moinmoin not loading 502 timeout from nginx

    • 1st error

            cant read /usr/share/moin/server/moin.wsgi 
      • Cause python-moinmoin un-installed during upgrade, add back with apt
    • 2nd error uwsgi startup error in log

       Traceback (most recent call last):
        File "/usr/share/moin/server/moin.wsgi", line 42, in <module>
          from MoinMoin.web.serving import make_application
      ImportError: No module named MoinMoin.web.serving
      • The newly installed moin.wsgi did not have the python path to find the moin modules. Add line to file

        sys.path.insert(0,  '/usr/lib/python2.7/dist-packages')

MoinMoin/Errors (last edited 2023-12-20 07:24:33 by SharronPro)