-
Notifications
You must be signed in to change notification settings - Fork 822
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
weechat: Out of memory when connecting to a server #262
Comments
Adding a link to #92. Would it be possible for you to take an strace of weechat so I can make sure it's using the same procfs files to determine how much memory the system has? |
I'm not really familiar with strace, I ran After weechat starts, I try to connect to an irc server, then exit after the out of memory message comes (and the connecting attempt is interrupted) |
Thanks that was helpful. It looks like weechat may be using /proc/meminfo to determine the amount of free memory. This is the same file top uses to display the info. I'm working on a fix for this now and will see if this unblocks weechat. |
It looks like this might actually be due to a different error, us not supporting PF_LOCAL datagram sockets.
|
benhillis, are you planning on supporting /proc/meminfo and PF_Local datagram sockets? Weechat is one of the main pieces of software I got really excited about having available in Windows (the cygwin builds just don't work right). Also, do you have anything planned like an Lxsvchost for running the Ubuntu Daemons as Windows services? |
@fpqc - /proc/meminfo is an interesting one. Unix and NT have different memory manager semantics so it will be hard (or impossible) to report accurate numbers for every field. That being said, I recently made a change to at least report the following fields: Let me sync up with the developer that worked on unix (PF_LOCAL) sockets and see what his thoughts are on adding support for datagrams. |
@benhillis I know how busy you guys are, but did you find anything else out about getting weechat to run (the PF_local datagrams, I guess, since it looks like you have /proc/meminfo working now)? I tried it on the latest build (just installed an hour ago) and got the same result. PS\ Very happy that in the latest insider build, zsh installs properly. |
@peterjuras - I am looking into AF_UNIX\SOCK_DGRAM support in WSL. With the initial code, it looks like I am able to get past the above error in 'weechat'. But, the connect command seems to be timing out. I also tried weechat on my native Ubuntu setup and I am not able to get it to connect as well. Here is what I am trying, please let me know if I am missing something: I even tried adding a server by using the
|
@sunilmut I made a new shell account on my vps, which is running CentOS 7 with a git-built version of Weechat 1.6-dev from last month, and here is how I connected:
and it worked alright. I don't have a copy of Ubuntu 14.04 with their package installed anywhere, but I expect it should work the same. If you can't get it to connect on your native Ubuntu setup, maybe see if you can get it to start on the git-devel version? You're typing in the commands correctly. The same sequence of operations works also on my friend's freebsd VPS in a new shell with Weechat 1.3. |
@sunilmut So by the way, I know this was one of your test cases for AF_UNIX, SOCK_DGRAM, and I am aware you have the big fix on the way. Just wondering if you got Weechat running, or if it ended up failing somewhere else. |
@russalex Hi, this is now fixed in 14915. Just notifying you =). |
Thanks! |
Connecting to any irc server with weechat is not possibledue to a "not enough memory" error.
To reproduce:
sudo apt-get install weechat
weechat
/connect irc.freenode.net
The text was updated successfully, but these errors were encountered: