01-20-2009
Ok, the problem is solved. It was not FreeBSD's fault but mine - wrong use of delete operator caused these crashes. In FreeBSD 6.3 it was crashing only once per few hours, in FreeBSD 7.1 the crash was occuring after application start.
Thank you for your time anyway.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
I want to write to my output_file using:
if((fptr = creat(output_file, _S_IWRITE)) == -1)
{
printf("output_file..."..);
return (1);
}
for(...)
{
_write(fptr, buffer, BUF_SIZE);
}
It says "_S_IWRITE" undeclared!!!
Anybody knows what function I can use for that and what I... (3 Replies)
Discussion started by: lacasa
3 Replies
2. UNIX for Dummies Questions & Answers
I am on AOL now,and i am using 56 k,i was gonna install FreeBSD,but i dont know if aol works on BSD,or my modem.
Do they work on BSD? (2 Replies)
Discussion started by: kita
2 Replies
3. UNIX for Dummies Questions & Answers
i am new at unix and am VERY confused about the compression processes. what progs do i need to unzip and zip files? there must be a standard one similar to winzip? (1 Reply)
Discussion started by: Mindscan
1 Replies
4. UNIX for Dummies Questions & Answers
What is FreeBSD, who does use Free? (3 Replies)
Discussion started by: cyberangel
3 Replies
5. BSD
B]I want the best of the best FreeBSD version for my study in Unix...please sugest me... Thanks (5 Replies)
Discussion started by: israel
5 Replies
6. UNIX for Dummies Questions & Answers
Hi Brothers,
Please, I've just purchased a new PC and I would like to have both win 2000 and freebsd in the same hard drive, ( 40GB and 128Mb ) can you please help how to set up my new hard drive , please!
Thank you.....
aka Polymorphous (2 Replies)
Discussion started by: Polymorphous
2 Replies
7. BSD
Hi to all,
Iam doing a project in Free BSD and i am stuck with a puzzle. Please any one of you clarify my doubt :
How to add a mechanism to check the status of the file system which alerts the root user via. email if any single partition is greater than 90% full. This alert should include the... (3 Replies)
Discussion started by: tadakamalla
3 Replies
8. Solaris
Hi All,
we have an application that is written in 'C' programming to connects to various servers in the organization.
The bellow code establish a TCP connection to connect to the remote servers. the application works perfectly ok, but, after some time the entire process get's crashed and... (2 Replies)
Discussion started by: sudharma
2 Replies
9. Fedora
I'm using Windows mostly and the only *nix thing I used during my life was cygwin (I like command line :)).
But currently I have (by an occasion) a DVD with latest FreeBSD. I don't know why, but I want to install it...
But probably, this OS is too difficult for a beginner. I heard, it's used on... (3 Replies)
Discussion started by: TeenageWerewolf
3 Replies
10. UNIX for Advanced & Expert Users
Hi All,
We have a 32bit Motif Gui application. Now we ported the application from Solaris to Linux and the system is crashing very frequently. On our analysis we could find that this issue happened when we are closing the forms in our application. When the forms are closed we will delete the forms... (0 Replies)
Discussion started by: sanushchacko
0 Replies
LEARN ABOUT FREEBSD
bhyveload
BHYVELOAD(8) BSD System Manager's Manual BHYVELOAD(8)
NAME
bhyveload -- load a FreeBSD guest inside a bhyve virtual machine
SYNOPSIS
bhyveload [-c cons-dev] [-d disk-path] [-e name=value] [-h host-path] [-m mem-size] vmname
DESCRIPTION
bhyveload is used to load a FreeBSD guest inside a bhyve(4) virtual machine.
bhyveload is based on loader(8) and will present an interface identical to the FreeBSD loader on the user's terminal.
The virtual machine is identified as vmname and will be created if it does not already exist.
OPTIONS
The following options are available:
-c cons-dev
cons-dev is a tty(4) device to use for bhyveload terminal I/O.
The text string "stdio" is also accepted and selects the use of unbuffered standard I/O. This is the default value.
-d disk-path
The disk-path is the pathname of the guest's boot disk image.
-e name=value
Set the FreeBSD loader environment variable name to value.
The option may be used more than once to set more than one environment variable.
-h host-path
The host-path is the directory at the top of the guest's boot filesystem.
-m mem-size [K|k|M|m|G|g|T|t]
mem-size is the amount of memory allocated to the guest.
The mem-size argument may be suffixed with one of K, M, G or T (either upper or lower case) to indicate a multiple of Kilobytes,
Megabytes, Gigabytes or Terabytes respectively.
The default value of mem-size is 256M.
EXAMPLES
To create a virtual machine named freebsd-vm that boots off the ISO image /freebsd/release.iso and has 1GB memory allocated to it:
bhyveload -m 1G -d /freebsd/release.iso freebsd-vm
To create a virtual machine named test-vm with 256MB of memory allocated, the guest root filesystem under the host directory
/user/images/test and terminal I/O sent to the nmdm(4) device /dev/nmdm1B
bhyveload -m 256MB -h /usr/images/test -c /dev/nmdm1B test-vm
SEE ALSO
bhyve(4), nmdm(4), vmm(4), bhyve(8), loader(8)
HISTORY
bhyveload first appeared in FreeBSD 10.0, and was developed at NetApp Inc.
AUTHORS
bhyveload was developed by Neel Natu <neel@FreeBSD.org> at NetApp Inc with a lot of help from Doug Rabson <dfr@FreeBSD.org>.
BUGS
bhyveload can only load FreeBSD as a guest.
BSD
January 7, 2012 BSD