Skip to content
New issue

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

ipfs add hangs if daemon has been running for a while #433

Closed
mappum opened this issue Dec 9, 2014 · 2 comments
Closed

ipfs add hangs if daemon has been running for a while #433

mappum opened this issue Dec 9, 2014 · 2 comments

Comments

@mappum
Copy link
Contributor

mappum commented Dec 9, 2014

This has happened to me multiple times now. This might be related to #418. Each time this has happened to me, the daemon was running for maybe an hour. The problem goes away (for a while) once the daemon gets restarted.

Here's a log output of when I tried to add (then I had to Ctrl-C):

02:42:47.202 DEBUG commands/h: Incoming API request: /api/v0/add?encoding=json&r=true handler.go:43
02:42:47.203  INFO core/comma: adding directory: /Users/mappum/test add.go:150
02:42:47.205 DEBUG  merkledag: DagService Add [Qmbvkmk9LFsGneteXk3G7YLqtLVME566ho6ibaQZZVHaC9] merkledag.go:187
02:42:47.206 DEBUG blockservi: blockservice: storing [Qmbvkmk9LFsGneteXk3G7YLqtLVME566ho6ibaQZZVHaC9] in datastore blockservice.go:46
02:42:47.211 DEBUG      swarm: [Peer QmbbP6ytoM9D] sent message to [Peer QmSoLueR4xBe] (6) conn.go:200
02:42:47.211  INFO       conn: [Peer QmbbP6ytoM9D] (/ip4/192.168.1.227/tcp/60149) <-- secureConn --> (/ip4/162.243.248.213/tcp/4001) [Peer QmSoLueR4xBe] sending (2) multiconn.go:162
^C02:42:59.897 CRITI   cmd/ipfs: Received interrupt signal, shutting down... main.go:494
02:42:59.897  INFO       conn: listener closing: [Peer QmbbP6ytoM9D] /ip4/0.0.0.0/tcp/4001 listen.go:47
02:42:59.897  INFO       conn: closing: [Peer QmbbP6ytoM9D] (/ip4/192.168.1.227/tcp/60149) <-- secureConn --> (/ip4/162.243.248.213/tcp/4001) [Peer QmSoLueR4xBe] multiconn.go:173
02:42:59.897 DEBUG       conn: [Peer QmbbP6ytoM9D] closing Conn with [Peer QmSoLueR4xBe] conn.go:105
02:42:59.897  INFO       conn: closing: [Peer QmbbP6ytoM9D] (/ip4/192.168.1.227/tcp/60146) <-- secureConn --> (/ip4/104.131.131.82/tcp/4001) [Peer QmaCpDMGvV2B] multiconn.go:173
02:42:59.897  INFO       conn: closing: [Peer QmbbP6ytoM9D] (/ip4/192.168.1.227/tcp/60147) <-- secureConn --> (/ip4/104.236.176.52/tcp/4001) [Peer QmSoLnSGccFu] multiconn.go:173
02:42:59.898 DEBUG       conn: [Peer QmbbP6ytoM9D] closing Conn with [Peer QmSoLueR4xBe] multiconn.go:216
02:42:59.898 DEBUG       conn: [Peer QmbbP6ytoM9D] closing Conn with [Peer QmSoLSafTMBs] conn.go:105
02:42:59.898  INFO       conn: listener closing: [Peer QmbbP6ytoM9D] /ip4/0.0.0.0/udp/4002/utp listen.go:47
02:42:59.898  INFO       conn: closing: [Peer QmbbP6ytoM9D] (/ip4/192.168.1.227/tcp/60170) <-- secureConn --> (/ip4/128.199.219.111/tcp/4001) [Peer QmSoLSafTMBs] multiconn.go:173
02:42:59.898 DEBUG       conn: [Peer QmbbP6ytoM9D] closing Conn with [Peer QmaCpDMGvV2B] conn.go:105
02:42:59.898 DEBUG       conn: [Peer QmbbP6ytoM9D] closing Conn with [Peer QmaCpDMGvV2B] multiconn.go:216
02:42:59.898 DEBUG       conn: [Peer QmbbP6ytoM9D] closing Conn with [Peer QmSoLSafTMBs] multiconn.go:216
02:42:59.898 DEBUG       conn: [Peer QmbbP6ytoM9D] closing Conn with [Peer QmSoLnSGccFu] conn.go:105
02:42:59.899  INFO   cmd/ipfs: terminating daemon at /ip4/127.0.0.1/tcp/5001... daemon.go:172
02:42:59.899 DEBUG       conn: [Peer QmbbP6ytoM9D] closing Conn with [Peer QmSoLpPVmHKQ] conn.go:105
@jbenet
Copy link
Member

jbenet commented Jan 8, 2015

@mappum still happening?

@jbenet
Copy link
Member

jbenet commented Jan 15, 2015

@mappum I'm closing this. please reopen if its still happening

@jbenet jbenet closed this as completed Jan 15, 2015
ariescodescream pushed a commit to ariescodescream/go-ipfs that referenced this issue Oct 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants