-
-
Notifications
You must be signed in to change notification settings - Fork 612
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
download_to_file Process is very use Cpu #479
Comments
|
@danog after save madeline.phar script dont work - (utf8 encoding and other ) |
Reducing the part_size will only slow down downloading and increase overhead (=> CPU usage will greatly increase). |
@danog
now i cant save madeline.phar after saving script dont work. Fatal error: Uncaught PharException: phar "C:\xampp\htdocs\BotDl\madeline.phar" SHA1 signature could not be verified: broken signature in C:\xampp\htdocs\BotDl\madeline.phar:11 Stack trace: #0 C:\xampp\htdocs\BotDl\madeline.phar(11): Phar::mapPhar('madeline.phar') #1 C:\xampp\htdocs\BotDl\madeline.php(24): require('C:\xampp\htdocs...') #2 C:\xampp\htdocs\BotDl\index.php(9): include_once('C:\xampp\htdocs...') #3 {main} thrown in C:\xampp\htdocs\BotDl\madeline.phar on line 11 |
Have you installed the openssl and GMP extensions? |
MadelineProto is very different from other libraries, and decreasing the part_size in MadelineProto GREATLY increases CPU usage; install openssl and GMP to reduce CPU usage. |
openssl and GMP installed , usage 60% of cpu |
@danog |
Are you sure you've installed the openssl extension? What does var_dump(extension_loaded('openssl')); say? |
Also, high CPU usage isn't really a problem, since the kernel really does a good job at scheduling the processes, to make sure everyone gets their time slice. |
this opration used 25% of CPU my Windows server
2 core 3.40 GHz
i use MultiThreading For Downloads Process . 4 Process use 100% of My Cpu !!
pls help me for this :(
The text was updated successfully, but these errors were encountered: