Closed 9mm closed 3 years ago
I'm having a similar strange problem. It seems as if Pygments.rb is crashing my platform at random times. Get the following error: Resource temporarily unavailable - posix_spawnp
I'm thinking it might be related to the version of python that RubyPython is loading? Any ideas anyone?
Inter-process communication and timeout handling was severely reworked in #209, please retest.
@slonopotamus lol, this 8 year old code is long gone and dead, but thanks for fixing!
Hi,
This has been something that's happened on my site since I started using pygments.rb a long time ago. It seemed to be less prominent before and I could deal with it as long as I occassionally 'pinged' my server with curl on a cron job, but now that I updated, it's happening many times per day and people can't read my blog articles that have syntax highlighting in them (they get 500 error).
After they visit the page and it 500's you can refresh and it magically will work for about 5 minutes on any article you go to. Then it starts 500'ing again. My curl trick no longer works it seems, as I get exception notifications all day long.
and
Any idea how i can debug/remedy this?