freebsd-hackers mailing list

FromSubjectsort iconDate
Wojciech Puchar
possibly tmpfs bug

repeatable

put something on tmpfs filesystem, then download it to other machine using
ftp (server is ftpd on first machine). no errors, download is fine, but
you get rubbish - simply data from wrong places in memory.

using rcp works. most probably ftpd uses sendfile, while rcp does not
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@fr...

Jul 3, 10:07 am 2009
Mikolaj Golub
Re: possibly tmpfs bug

On Fri, 3 Jul 2009 16:07:56 +0200 (CEST) Wojciech Puchar wrote:

WP> repeatable

WP> put something on tmpfs filesystem, then download it to other machine
WP> using ftp (server is ftpd on first machine). no errors, download is
WP> fine, but you get rubbish - simply data from wrong places in memory.

WP> using rcp works. most probably ftpd uses sendfile, while rcp does not

Yes, this is sendfile problem. It has been reported.

[ message continues ]

" title="http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/1...">http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/1...

Jul 3, 5:41 pm 2009
Wojciech Puchar
possibly tmpfs bug - part 2

works even over localhost

[wojtek@wojtek /tmp]$ cp /bin/sh .
[wojtek@wojtek /tmp]$ ftp localhost
Trying ::1...
Connected to localhost.
220 wojtek.tensor.gdynia.pl FTP server (Version 6.00LS) ready.
Name (localhost:wojtek):
331 Password required for wojtek.
Password:
230 User wojtek logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> get sh sh2
local: sh2 remote: sh
229 Entering Extended Passive Mode (|||59220|)
550 sh: No such file or directory.
ftp> cd /...

Jul 3, 10:09 am 2009
c0re dumped
Problem with vm.pmap.shpgperproc and vm.pmap.pv_entry_max

So, I never had problem with this server, but recently it starts to
giv me the following messages *every* minute :

Jul 3 10:04:00 squid kernel: Approaching the limit on PV entries,
consider increasing either the vm.pmap.shpgperproc or the
vm.pmap.pv_entry_max tunable.
Jul 3 10:05:00 squid kernel: Approaching the limit on PV entries,
consider increasing either the vm.pmap.shpgperproc or the
vm.pmap.pv_entry_max tunable.
Jul 3 10:06:00 squid kernel: Approaching the limit on PV entries,
consider ...

Jul 3, 9:18 am 2009
Alan Cox
Re: large pages (amd64)

Aside from the style nits, it looks good to me.

Alan

_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"

Jul 3, 3:19 pm 2009
previous daytodaynext day
July 2, 2009July 3, 2009July 4, 2009