NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/54818: 9.0_RC1 pagedaemon spins



The following reply was made to PR kern/54818; it has been noted by GNATS.

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: mlelstv%serpens.de@localhost
Cc: gnats-bugs%netbsd.org@localhost, he%uninett.no@localhost, ad%netbsd.org@localhost,
        tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: kern/54818: 9.0_RC1 pagedaemon spins
Date: Sun, 8 Mar 2020 15:50:28 +0900

 > http://ftp.netbsd.org/pub/NetBSD/misc/mlelstv/uvm_pdaemon.patch
 
 I've tried a modifyed patch for NetBSD 9.0 today
 (not sure if it's correct) and it fires soon with
 tons of log messages:
 
 ---
 Mar  8 15:40:43 mirage /netbsd: [ 8930.4150611] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8930.4150611] pagedaemon: Out of70.2942777] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8970.2942vaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8930.4150611] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 2 times
 Mar  8 15:40:43 mirage /netbsd: [ 893
 Mar  8 15:40:43 mirage /netbsd: [ 9268.5974764] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 926811] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8930.4150611] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8930.4150611] pagedaemon...
 qe
 Mar  8 15:40:43 mirage /netbsd: [ 8971.3547885] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 6 times
 Mar  8 15:40:43 mirage /netbsd: [ 8971.3547885] pagedaemon: Out of KVA, avaitgedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8930.4150611] pagedaemom...
 Mar  8 15:40:43 mirage /netbsd: [ 8971.8550302] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8930.4150611] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 3 times
 Mar  8 15:40:43 mirage /netbsd: [ 8930.7452203] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8930.7952444] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8930.7952444] pting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8973.9060171] pagedaemon: Out of KVA, avaiting doon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8930.8552735] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8931.1454075] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 2 times
 Mar  8 15:40:43 mirage /netbsd: [ 8931.4355476] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 4 times
 Mar  8 15:40:43 mirage /netbsd: [ 8931.4355476] pagedaemon: Ou[ 8976.1270867] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8976. of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 9270.0881898] pagedaemon: Out of KVAting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8931.4355476] pagedaemon: Out of KVA, avaiting doaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8977.1275694] pagedaemon:  8931.4355476] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8931.4355476] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8931.4355476]aiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8978.1280504] pagedaemon: Out of KVA, avaiting emon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8931.4355476] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8931.4355476] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8931.4355476] pagedaemon: Out of KVA, ava7] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8979.5887537] pageoom...
 Mar  8 15:40:43 mirage /netbsd: [ 8931.4355476] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 2 times
 Mar  8 15:40:43 mirage /netbsd: [ 8931.4355476vaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8980.0289657] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8980.0289657] pagedaemon: Out of KVA, avaiting doom..Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8931.4355476] pagedaemon: Out of 0.5292066] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8980.5292066] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8980.9193953] pagdoom...
 Mar  8 15:40:43 mirage /netbsd: [ 8931.4355476] pagedaemon: Out of KVA, avaiting doom...: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8981.1595101] pagedaemon: Out o.4355476] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8931.4355476] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8931.4355476] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8931.7256930] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8931.8457509] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8932.0458473] pagedaemon: Out of KVA, a918] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8982.6602327] pa doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8932.0558524] pagedaemon: Out of KVA, avaiting doom..n: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8983.1604735] pagedaemon: Out 2.4560452] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8932.45604 avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8983.6607144] pagedaemon: Out of KVA, avaitiedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8932.4560452] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 15 times
 Mar  8 15:40:43 mirage /netbsd: [ 8932.456A, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8986.2119428] pagedaemon: Out of KVA, avaiagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8932.4560452] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8932.4560452] pagedaemon: Out 8986.6621595] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8986.6KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 9067.1008507] pagedaemon: Out of KVA, aving doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8932.4560452] pagedaemon: Out of KVA, avaiting dooemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8986.6621595] pagedaemon: O8932.4560452] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8932.4560452] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 9 times
 Mar  8 15:40:43 mirage /netbsd: [ 8932.4560452]aiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8987.8527327] pagedaemon: Out of KVA, avaiting emon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8932.4560452] pagedaemon: O
 Mar  8 15:40:43 mirage /netbsd: [ 8987.8527327] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8987VA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8932.4560452] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8932.4560452] pagedaemon: Out of KVA, avaiting ddaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8988.3529735] pagedaemon:[ 8932.4560452] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8932.8362284] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8933.2364212] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 2 times
 Mar  8 15:40:43 mirage /netbsd: [ 8933.2364212] pagedaemon: Out of 8.3529735] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8988.35297aiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8933.4765370] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8933.6065998] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8933.8567205] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8933.8567205] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8934.3469574] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8934.3469574] pageg doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8989.3534551] pagedaemon: Out of KVA, avaiting doom. Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8934.8171833] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 2 times
 Mar  8 15:40:43 mirage /netbsd: [ 8935.3174244] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8935.3174244] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 893of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8990.8541776] pagedaemon: Out of KVA,84] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8936.4879895] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8936.5180031] pagedaemon...
 Mar  8 15:40:43 mirage /netbsd: [ 8991.3544192] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8f KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8936.5180031] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 7 times
 Mar  8 15:40:43 mirage /netbsd: [ 8936.5280034] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 4 times
 Mar  8 15:40:43 mirage /netbsd: [ 8t of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8991.9747170] pagedaemon: Out of KV0034] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8936.5280034] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 20 times
 Mar  8 15:40:43 mirage /netbsd: [ 8936.5280034] pagedaemon: Out of K.2667830] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8996.767023iting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8936.5280034] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8936.5780321] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 3 times
 Mar  8 15:40:43 mirage /netbsd: [ 8936.6880852] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8936.6880852] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8936.6980901] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8936.6980901] pagedaemon: Out of KVA, av61] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8998.2677461] pagdoom...
 Mar  8 15:40:43 mirage /netbsd: [ 8936.6980901] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8936.6980901] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8937[ 9277.0915414] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 9277.1] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8937.0282491] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8937.5184798] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8937.5384895] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 5 times
 Mar  8 15:40:43 mirage /netbsd: [ 8937.53848.0824940] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 9279.582733edaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8937.5384895] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 30 times
 Mar  8 15:40:43 mirage /netbsd: [ 8938.0387306] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8938.1787981] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 12 times
 Mar  8 15:40:43 mirage /netbsd: [ 8938.1888030] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 30 times
 Mar  8 15:40:43 mirage /netbsd: [ 8938.6890440] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8938.8191068] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 2 times
 Mar  8 15:40:43 mirage /netbsd: [ 8938.819A, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 9014.1053676] pagedaemon: Out of KVA, avaiagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8938.8191068] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 65 times
 Mar  8 15:40:43 mirage /netbsd: [ 8939.0592282] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 4 times
 Mar  8 15:40:43 mirage /netbsd: [ 8939.5494644] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8939.5494644] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8939.5794788] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 2 times
 Mar  8 15:40:43 mirage /netbsd: [ 8939.5894791] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8939.7395560] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 6 times
 Mar  8 15:40:43 mirage /netbsd: [ 8939.7495560] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 8 times
 Mar  8 15:40:43 mirage /netbsd: [ 8939.7495560] pagedaemon: Out of 4.2554356] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 9014.25543aiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8939.7495560] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8940.2397971] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8940.2397971] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8940.5999715] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8940.6900141] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 2 times
 Mar  8 15:40:43 mirage /netbsd: [ 8940.8500912] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8941.3403276] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8941.6404723] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 7 times
 Mar  8 15:40:43 mirage /netbsd: [ 8942.0006458] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8942.0006458] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8942.4908821] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8942.5709206] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 2 times
 Mar  8 15:40:43 mirage /netbsd: [ 8943.0611572] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8943.5613981] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8943.5613981] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8943.6014173] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 77 times
 Mar  8 15:40:43 mirage /netbsd: [ 8943.60301.0830203] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 9301.083pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8943.6014173] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 33 times
 Mar  8 15:40:43 mirage /netbsd: [ 894
 Mar  8 15:40:43 mirage /netbsd: [ 9302.5737333] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 930273] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8943.6014173] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 18 times
 Mar  8 15:40:43 mirage /netbsd: [ 8943.69.0862150] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 9099.08621 pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8943.6014173] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8943.6014173] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8943.6014173] pagedaemon: Out of Kf KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 9099.0862150] pagedaemon: Out of KVA, iting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8943.6014173] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 24 times
 Mar  8 15:40:43 mirage /netbsd: [ 8943.6014173] pagedaemon: Out o Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 9305.5751681] pagedaemon: Out ofavaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8943.6014173] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 32 times
 Mar  8 15:40:43 mirage /netbsd: [ 8943.6114174] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 6 times
 Mar  8 15:40:43 mirage /netbsd: [ 8943.6214220] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 20 times
 Mar  8 15:40:43 mirage /netbsd: [ 8943.6314319] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 7 times
 Mar  8 15:40:43 mirage /netbsd: [ 8943.6314319] paaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 9236.0919145] pagedaemon: Out of KVA, avaiting n: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8943.6314319] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 10 times
 Mar  8 15:40:43 mirage /netbsd: [ 8943.6414325] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 3 times
 Mar  8 15:40:43 mirage /netbsd: [ 8943.64f KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 9236.0919145] pagedaemon: Out of KVA, pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8943.6414325] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 50 times
 Mar  8 15:40:43 mirage /netbsd: [ 8943.6514368] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage syslogd[469]: last message repeated 9 times
 Mar  8 15:40:43 mirage /netbsd: [ 8943.6614418] pagedaemon: Out of KVA, avaiting doom...
 Mar  8 15:40:43 mirage /netbsd: [ 8943.6614418] pagedaemon: Out of KVA, avaiting doom...
 
 ---
 
 And the kernel hung up.
 (the above log is taken from /var/log/messages after reboot)
 
 ---
 Index: uvm_pdaemon.c
 ===================================================================
 RCS file: /cvsroot/src/sys/uvm/uvm_pdaemon.c,v
 retrieving revision 1.110
 diff -u -p -d -r1.110 uvm_pdaemon.c
 --- uvm_pdaemon.c	21 Apr 2019 15:32:18 -0000	1.110
 +++ uvm_pdaemon.c	8 Mar 2020 06:47:50 -0000
 @@ -239,6 +239,7 @@ uvm_pageout(void *arg)
  {
  	int npages = 0;
  	int extrapages = 0;
 +	int timo = 0;
  	
  	UVMHIST_FUNC("uvm_pageout"); UVMHIST_CALLED(pdhist);
  
 @@ -270,15 +271,19 @@ uvm_pageout(void *arg)
  		bool needsscan, needsfree, kmem_va_starved;
  
  		kmem_va_starved = uvm_km_va_starved_p();
 +		if (timo > 0 && kmem_va_starved)
 +			printf("pagedaemon: Out of KVA, avaiting doom...\n");
  
  		mutex_spin_enter(&uvm_fpageqlock);
 -		if ((uvm_pagedaemon_waiters == 0 || uvmexp.paging > 0) &&
 -		    !kmem_va_starved) {
 +		if (timo > 0 ||
 +		    ((uvm_pagedaemon_waiters == 0 || uvmexp.paging > 0) &&
 +		    !kmem_va_starved)) {
  			UVMHIST_LOG(pdhist,"  <<SLEEPING>>",0,0,0,0);
  			UVM_UNLOCK_AND_WAIT(&uvm.pagedaemon,
 -			    &uvm_fpageqlock, false, "pgdaemon", 0);
 +			    &uvm_fpageqlock, false, "pgdaemon", timo);
  			uvmexp.pdwoke++;
  			UVMHIST_LOG(pdhist,"  <<WOKE UP>>",0,0,0,0);
 +			timo = 0;
  		} else {
  			mutex_spin_exit(&uvm_fpageqlock);
  		}
 @@ -336,17 +341,16 @@ uvm_pageout(void *arg)
  		mutex_exit(&uvm_pageqlock);
  
  		/*
 -		 * if we don't need free memory, we're done.
 +		 * if we don't need free memory, kick the poll drainer thread
  		 */
  
 -		if (!needsfree && !kmem_va_starved)
 -			continue;
  
 +		if (needsfree || kmem_va_starved)
 +			uvmpd_pool_drain_wakeup();
  		/*
 -		 * kick the pool drainer thread.
 +		 * sleep before next run
  		 */
 -
 -		uvmpd_pool_drain_wakeup();
 +		timo = hz/2;
  	}
  	/*NOTREACHED*/
  }
 	
 ---
 Izumi Tsutsui
 


Home | Main Index | Thread Index | Old Index