Hi all,
Greeting from me!
I am running OpenBSD 6.3, and don't know from when, loading some
binary will prompt "Cannot allocate memory":
$ egdb
ksh: egdb: Cannot allocate memory
$ cmake
ksh: cmake: Cannot allocate memory
But the memory seems enough:
$top
..
Memory: Real: 57M/1365M act/tot F
On Tue, Jul 03, 2018 at 05:31:22PM +0800, Nan Xiao wrote:
> Hi all,
>
> Greeting from me!
>
> I am running OpenBSD 6.3, and don't know from when, loading some
> binary will prompt "Cannot allocate memory":
>
> $ egdb
> ksh: egdb: Cannot allocate memory
>
> $ cmake
> ksh: cmake: Cannot allocate
Hi Marc,
Thanks for your reply! The "ulimit -a" outputs following:
$ ulimit -a
time(cpu-seconds)unlimited
file(blocks) unlimited
coredump(blocks) unlimited
data(kbytes) 33554432
stack(kbytes)8192
lockedmem(kbytes)1332328
memory(kbytes) 3978716
nofiles(des
On Tue, Jul 3, 2018 at 4:53 PM Nan Xiao wrote:
> Thanks for your reply! The "ulimit -a" outputs following:
>
> $ ulimit -a
> time(cpu-seconds)unlimited
> file(blocks) unlimited
> coredump(blocks) unlimited
> data(kbytes) 33554432
> stack(kbytes)8192
> lockedmem(kby
On Tue, 3 Jul 2018, Philip Guenther wrote:
Flakey button on my mouse; time to clean it again and throw it out if it
keeps glitching. Sorry about that.
> On Tue, Jul 3, 2018 at 4:53 PM Nan Xiao wrote:
> > Thanks for your reply! The "ulimit -a" outputs following:
> >
> > $ ulimit -a
> > time(c
HI Philip,
Thanks very much for your detailed explanation!
My OS is 6.3. I already use "pkg_add -u" to upgrade all installed
packages. cmake and egdb are are installed by "pkg_add", not compiled
by me.
"vmstat -m" gives some information:
$ vmstat -m
Memory statistics by bucket size
Size
On Wed, Jul 4, 2018 at 12:57 AM Nan Xiao wrote:
> My OS is 6.3. I already use "pkg_add -u" to upgrade all installed
> packages. cmake and egdb are are installed by "pkg_add", not compiled
> by me.
>
You don't mention -release, or -stable, or -current, which is utterly
critical: 6.3-release and 6
Hi Philip,
Thanks very much for your time and patience. I run "syspatch" command
regularly, so it should be 6.3-stable.
My full dmesg output is here:
OpenBSD 6.3 (RAMDISK_CD) #98: Sat Mar 24 14:26:39 MDT 2018
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
real mem = 422
On Wed, Jul 4, 2018 at 6:31 PM Nan Xiao wrote:
> Thanks very much for your time and patience. I run "syspatch" command
> regularly, so it should be 6.3-stable.
>
> My full dmesg output is here:
>
...
Okay, nothing weird in there.
And full ouput of "vmstat -m":
>
Nothing stands out in that out
Hi Philip,
Thanks very much for your time and effort!
The following is the command output:
$ readelf -Wl /usr/local/bin/egdb | awk '/RANDOM/{print ($5+0)/1024}'
88.4844
The same as yours.
Honestly, I am not sure whether the package is for -stable or -current.
After installation, I just add fo
On 2018-07-07, Nan Xiao wrote:
> Hi Philip,
>
> Thanks very much for your time and effort!
>
> The following is the command output:
>
> $ readelf -Wl /usr/local/bin/egdb | awk '/RANDOM/{print ($5+0)/1024}'
> 88.4844
>
> The same as yours.
That is from -current.
> Honestly, I am not sure whether
HI Stuart,
Thanks for your reply!
I don't set PKG_PATH environment.
Yes, it seems I installed the current package:
$ ls -l /usr/local/bin/egdb
-rwxr-xr-x 1 root bin 10040410 Jun 28 19:03 /usr/local/bin/egdb
But I can't remember what I have done. I can only remember I modified
/etc/installurl
Hello Nan,
you need to set the PKG_path as Stuart suggested to install packages using
pkg_add command
for example to use fastly cdn mirror you would set your pkg_path variable as
shown below
export PKG_PATH=https://fastly.cdn.openbsd.org/pub/OpenBSD/$(uname
-r)/packages/$(uname -p)/
/etc/insta
On Sat, Jul 07, 2018 at 03:52:44PM +0100, Tom Smyth wrote:
> Hello Nan,
> you need to set the PKG_path as Stuart suggested to install packages using
>
> pkg_add command
>
> for example to use fastly cdn mirror you would set your pkg_path variable as
> shown below
>
> export PKG_PATH=https://fa
Hi otto
I must check that last time i read man page it was related it was for
syspatch
Thanks
On Sat 7 Jul 2018, 17:07 Otto Moerbeek, wrote:
> On Sat, Jul 07, 2018 at 03:52:44PM +0100, Tom Smyth wrote:
>
> > Hello Nan,
> > you need to set the PKG_path as Stuart suggested to install package
Hello
yeah the installurl functionality appears to have been added to
after 6.1
thanks Otto
On 7 July 2018 at 17:10, Tom Smyth wrote:
> Hi otto
>
> I must check that last time i read man page it was related it was for
> syspatch
>
>
> Thanks
>
>
>
> On Sat 7 Jul 2018, 17:07 Otto Moerbeek, wrot
On 2018-07-07, Tom Smyth wrote:
> Hi otto
>
> I must check that last time i read man page it was related it was for
> syspatch
/etc/installurl is used if present, pkg_add selects /snapshots/ or /6.3/
etc depending on the kernel version string.
If set, PKG_PATH overrides /etc/installurl, and thi
Hi Stuart,
Thanks for your reply!
$ cat /etc/installurl
https://ftp.openbsd.org/pub/OpenBSD
Does my /etc/installurl will always fetch -current?
Thanks in advance!
Best Regards
Nan Xiao
On Sun, Jul 8, 2018 at 7:33 AM, Stuart Henderson wrote:
> On 2018-07-07, Tom Smyth wrote:
>> Hi otto
>>
>>
On 2018/07/08 21:56, Nan Xiao wrote:
> Hi Stuart,
>
> Thanks for your reply!
>
> $ cat /etc/installurl
> https://ftp.openbsd.org/pub/OpenBSD
>
> Does my /etc/installurl will always fetch -current?
>
> Thanks in advance!
> Best Regards
> Nan Xiao
>
>
> On Sun, Jul 8, 2018 at 7:33 AM, Stuart He
Hi Stuart,
This is my kernel information:
$ sysctl -n kern.version | head -1
OpenBSD 6.3 (GENERIC.MP) #4: Sun Jun 17 11:22:20 CEST 2018
I remember I used to build -current code before. So is it possible
that will mess up my system?
Thanks!
Best Regards
Nan Xiao
On Sun, Jul 8, 2018 at 10:17 PM
On 2018-07-09, Nan Xiao wrote:
> Hi Stuart,
>
> This is my kernel information:
>
> $ sysctl -n kern.version | head -1
> OpenBSD 6.3 (GENERIC.MP) #4: Sun Jun 17 11:22:20 CEST 2018
>
> I remember I used to build -current code before. So is it possible
> that will mess up my system?
Anything that yo
21 matches
Mail list logo