Solved yum-complete-transaction Running Out of Memory
-
I have a corrupted YUM transaction on CentOS 6.5 and cannot get the process to complete. If I do a yum-complete-transaction it runs for about ten or more minutes but ends with "killed." If I check the logs, it is ...
kernel: Out of memory: Kill process 17313 (yum-complete-tr) score 122 or sacrifice child kernel: Killed process 17313, UID 0, (yum-complete-tr) total-vm:1331960kB, anon-rss:435504kB, file-rss:136kB
Any idea how I can get this to clean up? I have already tried adding additional swap space, no luck. It does not appear to be willing to use swap for this operation. I've killed off any unneeded processes to clear up memory. Under normal operations the system uses less than 50% of the available memory, it has lots of overhead. But this RPM database got messed up and now it needs a ton of memory to clean up.
Ideas?
-
Currently attempting to modify the OOM Killer for this particular process:
echo -15 > /proc/19582/oom_adj
And yes, 19582 is the yum process
-
I've got watch free -m going and watching my memory ebb away.
-
I wonder if this could be a factor....
# cat /proc/sys/vm/swappiness 0
Doh!
-
I'm watching swap get used this time, that's a good sign. It wasn't getting touched before. I'm hopeful.
-
Still running after thirty minutes and now it is really hitting the swap, so I have a feeling that this is going to work.
-
Still running, it has been over an hour now!
-
What is it installing or uninstalling? That's insane!
-
@dafyre said:
What is it installing or uninstalling? That's insane!
Installing. it is supposed to be completing previously transactions.
-
@scottalanmiller said:
@dafyre said:
What is it installing or uninstalling? That's insane!
Installing. it is supposed to be completing previously transactions.
Wow how long have they been there?
-
@johnhooks said:
@scottalanmiller said:
@dafyre said:
What is it installing or uninstalling? That's insane!
Installing. it is supposed to be completing previously transactions.
Wow how long have they been there?
Don't know. Cleaning up after someone.
-
production box then I assume - can't just wipe and start over?
-
@Dashrender said:
production box then I assume - can't just wipe and start over?
Yes, very production.
All good now, just took some manual labour.
-
-
@scottalanmiller said:
@Dashrender said:
production box then I assume - can't just wipe and start over?
Yes, very production.
All good now, just took some manual labour.
I'm guessing the two hours you spent on it was less expensive than rebuilding it.
-
@Dashrender said:
@scottalanmiller said:
@Dashrender said:
production box then I assume - can't just wipe and start over?
Yes, very production.
All good now, just took some manual labour.
I'm guessing the two hours you spent on it was less expensive than rebuilding it.
Sixteen hours.
-
You're still unsolved
-
I have been solved.
-
@scottalanmiller said:
@Dashrender said:
@scottalanmiller said:
@Dashrender said:
production box then I assume - can't just wipe and start over?
Yes, very production.
All good now, just took some manual labour.
I'm guessing the two hours you spent on it was less expensive than rebuilding it.
Sixteen hours.
did that include the time it was just running? Well I suppose if you were onsite doing nothing else waiting for this to finish.. that would be a huge bad bill.
-
I worked on the box all night. There were a LOT of issues, this was just one at the tail end.