Skip to content
This repository was archived by the owner on Nov 27, 2018. It is now read-only.
This repository was archived by the owner on Nov 27, 2018. It is now read-only.

Command python acehttp.py get 100% CPU usage #63

Description

@minhnv16

I run acestreamengine first then run command
python acehttp.py

play some acestream link by
ffplay -i http://127.0.0.1:8000/pid/abcd1234.../stream.mp4

when memory of engine is over, it's killed by system auto matic
and Command python acehttp.py get 100% CPU usage

`28.04.2018 21:14:46 ERROR HTTP: AceClient create exception: AceException("Socket creation error! Ace is not running? error(24, 'Too many open files')",) [17/1284]
28.04.2018 21:14:46 WARNING root: Dying with error
127.0.0.1 - - [28/Apr/2018 21:14:46] code 502, message Bad Gateway
127.0.0.1 - - [28/Apr/2018 21:14:46] "GET /pid/1315df58796db2325c2fdc52631f2f39c53b93c6/stream.mp4 HTTP/1.1" 502 -
28.04.2018 21:14:46 DEBUG AceClient_destroy: Destroying client...
28.04.2018 21:14:46 INFO http_HTTPHandler: Accepted connection from 127.0.0.1 path /pid/1724d7f4ee4e9b40924ea89bb24f30cafe4daa9f/stream.mp4
28.04.2018 21:14:46 ERROR HTTP: AceClient create exception: AceException("Socket creation error! Ace is not running? error(24, 'Too many open files')",)
28.04.2018 21:14:46 WARNING root: Dying with error
127.0.0.1 - - [28/Apr/2018 21:14:46] code 502, message Bad Gateway
127.0.0.1 - - [28/Apr/2018 21:14:46] "GET /pid/1724d7f4ee4e9b40924ea89bb24f30cafe4daa9f/stream.mp4 HTTP/1.1" 502 -
28.04.2018 21:14:46 DEBUG AceClient_destroy: Destroying client...
29.04.2018 02:30:53 DEBUG http_hangDetector: Client disconnected
29.04.2018 02:30:53 DEBUG HTTP: END REQUEST
29.04.2018 02:30:53 DEBUG HTTP: Sleeping for 3 seconds
29.04.2018 02:30:53 INFO http_HTTPHandler: Accepted connection from 127.0.0.1 path /pid/1b5c343c2cc146d86c449c202a98132b8a2e03b4/stream.mp4
29.04.2018 02:30:53 ERROR HTTP: AceClient create exception: AceException("Socket creation error! Ace is not running? error(24, 'Too many open files')",)
29.04.2018 02:30:53 WARNING root: Dying with error

127.0.0.1 - - [29/Apr/2018 02:30:53] code 502, message Bad Gateway
127.0.0.1 - - [29/Apr/2018 02:30:53] "GET /pid/1b5c343c2cc146d86c449c202a98132b8a2e03b4/stream.mp4 HTTP/1.1" 502 -
29.04.2018 02:30:53 DEBUG AceClient_destroy: Destroying client...
29.04.2018 02:30:56 DEBUG HTTP: That was the last client, destroying AceClient
29.04.2018 02:30:56 INFO http_HTTPHandler: Accepted connection from 127.0.0.1 path /pid/2de26a9a525b357e5b873fa1710bae1e6ec148fb/stream.mp4
29.04.2018 02:30:56 ERROR HTTP: AceClient create exception: AceException("Socket creation error! Ace is not running? error(24, 'Too many open files')",)
29.04.2018 02:30:56 WARNING root: Dying with error
127.0.0.1 - - [29/Apr/2018 02:30:56] code 502, message Bad Gateway
127.0.0.1 - - [29/Apr/2018 02:30:56] "GET /pid/2de26a9a525b357e5b873fa1710bae1e6ec148fb/stream.mp4 HTTP/1.1" 502 -
29.04.2018 02:30:56 DEBUG AceClient_destroy: Destroying client...
29.04.2018 02:30:56 INFO http_HTTPHandler: Accepted connection from 127.0.0.1 path /pid/419a38f9dc342b9c02df70d14552fed53dac5933/stream.mp4
29.04.2018 02:30:56 ERROR HTTP: AceClient create exception: AceException("Socket creation error! Ace is not running? error(24, 'Too many open files')",)
29.04.2018 02:30:56 WARNING root: Dying with error
127.0.0.1 - - [29/Apr/2018 02:30:56] code 502, message Bad Gateway
127.0.0.1 - - [29/Apr/2018 02:30:56] "GET /pid/419a38f9dc342b9c02df70d14552fed53dac5933/stream.mp4 HTTP/1.1" 502 -
29.04.2018 02:30:56 DEBUG AceClient_destroy: Destroying client...
`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions