We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
isTextInFile
perl -w /usr/bin/tuxedo-tomte configure all ran for me with 100% CPU usage.
perl -w /usr/bin/tuxedo-tomte configure all
I've been digging a bit into the code and the problem seems to be the while loop in isTextInFile.
while
Specifically, adding a line for logging:
while( $FH ) { printLog("FILE $filename MATCH /$match/", 'TL0', '[WARN]'); if ( $_ =~ /$match/sm) { return (1); } }
I get the following output:
FILE /etc/modprobe.d/tuxedo_early_load_backlight_control_fix.conf MATCH /softdep nvidia pre: i915/ FILE /etc/modprobe.d/tuxedo_early_load_backlight_control_fix.conf MATCH /softdep nvidia pre: i915/ FILE /etc/modprobe.d/tuxedo_early_load_backlight_control_fix.conf MATCH /softdep nvidia pre: i915/ FILE /etc/modprobe.d/tuxedo_early_load_backlight_control_fix.conf MATCH /softdep nvidia pre: i915/
etc.
/etc/modprobe.d/tuxedo_early_load_backlight_control_fix.conf contains a single line:
/etc/modprobe.d/tuxedo_early_load_backlight_control_fix.conf
softdep nvidia pre: i915
I feel like this should be an easy fix, but I don't know any perl, unfortunately.
The text was updated successfully, but these errors were encountered:
Okay, #43 seems to fix it
Sorry, something went wrong.
THX, I will correct it and upload it today
The hotfix is online. Please update Tomte and you might want to delete the logfile:
sudo rm /var/log/tomte/tomte.log
THX again for letting me know
Great, the new version works. And thanks for mentioning that the log file should be removed (it was 23GB).
No branches or pull requests
perl -w /usr/bin/tuxedo-tomte configure all
ran for me with 100% CPU usage.I've been digging a bit into the code and the problem seems to be the
while
loop inisTextInFile
.Specifically, adding a line for logging:
I get the following output:
etc.
/etc/modprobe.d/tuxedo_early_load_backlight_control_fix.conf
contains a single line:I feel like this should be an easy fix, but I don't know any perl, unfortunately.
The text was updated successfully, but these errors were encountered: