Re: tuning a system for a single user
Hi, I believe no FreeBSD system is single user. As root, daemon users, system users, nobody is required for running system smoothly, securely and easy, so scheduling is nessecary :) Quotas / MAC / Auditing can be disabled by compiling your own kernel, please refer to handbook for futher info. kern.maxusers is autotuned. FreeBSD is multiuser OS, if you wan't singleuser os, install FreeDOS :) Kristaps Kūlis On Sat, Apr 2, 2011 at 5:24 AM, Eitan Adler li...@eitanadler.com wrote: When I look for tuning guides online, or reading tuning(7) I find a lot of guides for tuning a system for multiple users or for specific purposes (web servers, file servers, etc) I am looking for specific tunables that might make the experience of using FreeBSD better. I found the sysctl kern.maxusers but I'm unsure how things affects things. Can I reduce the amount of time, memory, etc the kernel spends enforcing quota, scheduling, etc? I don't have anything particular in mind - just want to get a general set of tunables I might be interested in. -- Eitan Adler ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: MySQL 3 needed but how?
Quick glance /usr/ports/databases/mysql323-server/ 65 .if ${OSVERSION} = 70 66 IGNORE= obsolete and does not build with gcc4.2; use mysql 5 or later 67 .endif Get FreeBSD-6x installed somewhere and mysql port SHOULD compile and run. On Sat, Mar 26, 2011 at 7:11 PM, Laszlo Nagy gand...@shopzeus.com wrote: Hi, I have an old backup from a MySQL data directory. It was created with MySQL version 3. If I install MySQL 4 then I get this message telling that the table was created with a different MySQL version. So I try to install mysql 3. Here is the problem: gw# pwd /usr/ports/databases/mysql323-server gw# make === mysql-server-3.23.59.n.20050301_3 obsolete and does not build with gcc4.2; use mysql 5 or later. *** Error code 1 Stop in /usr/ports/databases/mysql323-server. gw# But I really need mysql 3. I usually install everything from the ports tree, but in this case this won't work. I need a quick solution. Maybe I can install a different OS in a virtual machine. But do you know where can I download a BSD OS version that has a binary package of MySQL server 3? (I don't know how to search for a BSD OS that has binary packages for mysql3...) Thanks, Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
sysinstall fails when adding distributions
Hi, On FreeBSD 8.1-RELEASE (i386) on IBM T43, sysinstall fails when trying to add src distribution to already installed system (when starting to download them from FTP). No network activity is observed. coredump: http://www.ltn.lv/~kristapskulis/sysinstall.core dmesg: http://www.ltn.lv/~kristapskulis/dmesg What I`m doing wrong and how to fix it ? Kristaps Kūlis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
X11 reboots on key press
Hello! When I press key (like backspace or) Ctrl and keep it pressed, X11 restarts and returns to KDM. I suspect that problem arose when I used nvidia-settings to configure dual monitor setup . Temporary workaround - disable key repeat GPU : 9600GT Version: 7.2-RELEASE-p3 kdm-log complains about xkbcomp errors Warning: Multiple doodads named Using first definition The XKEYBOARD keymap compiler (xkbcomp) reports: Warning: Type ONE_LEVEL has 1 levels, but RALT has 2 symbols Ignoring extra symbols and at the end: The XKEYBOARD keymap compiler (xkbcomp) reports: Warning: Type ONE_LEVEL has 1 levels, but RALT has 2 symbols Ignoring extra symbols Xorg.conf # nvidia-settings: X configuration file generated by nvidia-settings # nvidia-settings: version 1.0 (r...@lielais.kristaps.lv) Tue Nov 3 08:19:11 UTC 2009 Section ServerLayout # Removed Option Xinerama 0 Identifier X.org Configured Screen 0 Screen0 0 0 Screen 1 Screen1 RightOf Screen0 InputDevice Mouse0 CorePointer InputDevice Keyboard0 CoreKeyboard Option AllowEmptyInput off Option Xinerama 1 EndSection Section Files ModulePath /usr/local/lib/xorg/modules FontPath /usr/local/lib/X11/fonts/misc/ FontPath /usr/local/lib/X11/fonts/TTF/ FontPath /usr/local/lib/X11/fonts/OTF FontPath /usr/local/lib/X11/fonts/Type1/ FontPath /usr/local/lib/X11/fonts/100dpi/ FontPath /usr/local/lib/X11/fonts/75dpi/ EndSection Section Module Load dbe Load dri Load dri2 Load extmod Load glx Load record EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/sysmouse Option ZAxisMapping 4 5 6 7 EndSection Section InputDevice Identifier Keyboard0 Driver kbd Option XkbModel pc105 Option XkbLayout lv EndSection Section Monitor Identifier Monitor0 VendorName Unknown ModelName Samsung SyncMaster HorizSync 30.0 - 81.0 VertRefresh 56.0 - 75.0 EndSection Section Monitor Identifier Monitor1 VendorName Unknown ModelName Samsung SyncMaster HorizSync 30.0 - 81.0 VertRefresh 56.0 - 75.0 EndSection Section Device ### Available Driver options are:- ### Values: i: integer, f: float, bool: True/False, ### string: String, freq: f Hz/kHz/MHz ### [arg]: arg optional #Option SWcursor # [bool] #Option HWcursor # [bool] #Option NoAccel # [bool] #Option ShadowFB # [bool] #Option UseFBDev # [bool] #Option Rotate # [str] #Option VideoKey # i #Option FlatPanel # [bool] #Option FPDither # [bool] #Option CrtcNumber # i #Option FPScale # [bool] #Option FPTweak # i #Option DualHead # [bool] Identifier Card0 Driver nvidia VendorName nVidia Corporation BoardName G94 [GeForce 9600 GT] BusID PCI:1:0:0 EndSection Section Device Identifier Device0 Driver nvidia VendorName NVIDIA Corporation BoardName GeForce 9600 GT BusID PCI:1:0:0 Screen 0 EndSection Section Device Identifier Device1 Driver nvidia VendorName NVIDIA Corporation BoardName GeForce 9600 GT BusID PCI:1:0:0 Screen 1 EndSection Section Screen # Removed Option TwinView 1 # Removed Option metamodes DFP-0: nvidia-auto-select +0+0, DFP-1: nvidia-auto-select +1600+0 Identifier Screen0 Device Device0 Monitor Monitor0 DefaultDepth 24 Option TwinView 0 Option metamodes DFP-0: nvidia-auto-select +0+0 SubSection Display Depth 24 EndSubSection EndSection Section Screen Identifier Screen1 Device Device1 Monitor Monitor1 DefaultDepth 24 Option TwinView 0 Option metamodes DFP-1: 1600x1200 +0+0 SubSection Display Depth 24 EndSubSection EndSection --- Kristaps Kūlis If you fool around with something long enough, it will eventually break. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org