When I run "sensors" under apache in a mod_python script, the CPU temperature is not the same as shown on the command line under any user, including apache user. When I run "sensors" in a PHP script, the CPU temperature is the same. Reproducible: Always Steps to Reproduce: 1. Run sensors in mod_python 2. Run sensors on command line 3. See the difference by 3 to 5 degrees Expected Results: Temperature should be the same or near. Values from Python ------------------- w83627thf-isa-0290 Adapter: ISA adapter VCore: +1.53 V (min = +1.40 V, max = +1.60 V) +12V: +12.04 V (min = +11.49 V, max = +12.52 V) +3.3V: +3.25 V (min = +3.20 V, max = +3.41 V) +5V: +5.07 V (min = +4.75 V, max = +5.25 V) -12V: -12.03 V (min = -12.53 V, max = -11.54 V) V5SB: +4.92 V (min = +4.76 V, max = +5.24 V) VBat: +2.62 V (min = +2.40 V, max = +3.60 V) M/B Temp: +43 C (high = +60 C, hyst = +55 C) sensor = thermistor CPU Temp: +42.0 C (high = +80 C, hyst = +75 C) sensor = diode ??? Temp: +45.5 C (high = +60 C, hyst = +55 C) sensor = thermistor alarms: Chassis intrusion detection ALARM beep_enable: Sound alarm enabled Values from command line ------------------- w83627thf-isa-0290 Adapter: ISA adapter VCore: +1.52 V (min = +1.40 V, max = +1.60 V) +12V: +12.04 V (min = +11.49 V, max = +12.52 V) +3.3V: +3.23 V (min = +3.20 V, max = +3.41 V) +5V: +5.07 V (min = +4.75 V, max = +5.25 V) -12V: -11.95 V (min = -12.53 V, max = -11.54 V) V5SB: +4.92 V (min = +4.76 V, max = +5.24 V) VBat: +2.62 V (min = +2.40 V, max = +3.60 V) M/B Temp: +43°C (high = +60°C, hyst = +55°C) sensor = thermistor CPU Temp: +39.5°C (high = +80°C, hyst = +75°C) sensor = diode ??? Temp: +46.0°C (high = +60°C, hyst = +55°C) sensor = thermistor alarms: Chassis intrusion detection ALARM beep_enable: Sound alarm enabled Values from PHP ------------------------------- w83627thf-isa-0290 Adapter: ISA adapter VCore: +1.52 V (min = +1.40 V, max = +1.60 V) +12V: +12.04 V (min = +11.49 V, max = +12.52 V) +3.3V: +3.25 V (min = +3.20 V, max = +3.41 V) +5V: +5.07 V (min = +4.75 V, max = +5.25 V) -12V: -12.03 V (min = -12.53 V, max = -11.54 V) V5SB: +4.92 V (min = +4.76 V, max = +5.24 V) VBat: +2.62 V (min = +2.40 V, max = +3.60 V) M/B Temp: +43°C (high = +60°C, hyst = +55°C) sensor = thermistor CPU Temp: +39.5°C (high = +80°C, hyst = +75°C) sensor = diode ??? Temp: +46.0°C (high = +60°C, hyst = +55°C) sensor = thermistor alarms: Chassis intrusion detection ALARM beep_enable: Sound alarm enabled
Created attachment 212979 [details] Output of emerge --info
Created attachment 212980 [details] Output of lscpi -vv
What if you run sensors from within a cli python script?
And how long does the script take to execute? Is there a notable difference between PHP and Python?
When I run the following Python script, "sensors" shows the same temperature as if it were run from command line : import os os.system("sensors") So it seems to me that the Python software I run makes CPU get warmer even for a single web page.