Project

General

Profile

Bug #12859

pkg sometimes hangs for nothing

Added by giahung 1997tn about 2 months ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:

Description

Especially when searching for packages with pkg search -rp. Sometimes it just hangs there and doing nothing. Checked for network activity via VirtualBox, I found no network IO at all. A quick look via top also show no system resource being used other than what already there and there is no process named pkg! So this means it failed to run at all! I have to cancel it with Ctrl+C.

I don't have any knowledge about programming but I used to hear someone said it's the symptom of it failed to fork/exec itself, but please don't take my words seriously, since I really really don't know anything about programming at all!

And I found most of the time after a reboot I could search for packages with pkg search -rp again. It's weirded, I still have plenty of ram there!

Sometimes it's because network bottleneck and it's solved by tried again after some hours. I think if there is problem, pkg should let me know and exit peacefully instead of letting me to wait for nothing.

History

#1

Updated by Aurélien Larcher about 2 months ago

Provide more information, it usually means a networking problem, like not an issue with pkg itself.

#2

Updated by giahung 1997tn about 2 months ago

Aurélien Larcher wrote:

Provide more information, it usually means a networking problem, like not an issue with pkg itself.

That's everything I could give. I'm a new user.

Also available in: Atom PDF