A generator can start a fire if gasoline is leaking or something ignites from sparks of the brushes if it has brushes.
If the generator overheats then it could start a fire or explode or if it's near combustibles such as gas cans, clothing, etc then the generator could start a fire.
If the generator does start a fire you should try to put dirt on it or use a fire extinguisher to put out the fire.
Or spray water on it to help contain the fire.
Although rare a portable generator can explode if it overheats and then fuel leaks onto the generator and due to the sparks the generator then explodes.
It's rare that a generator will explode but it can sometimes happen.
Parts such as brushes, armature, and commutators can start to spark without proper maintenance.
These sparks can ignite any gasoline fumes or spills, which in turn can cause the generator to catch on fire, and the gas tank could then cause an explosion.
You should run a generator overnight if you need to run it overnight and if there's no noise ordinances.
However if you don't have to or need to run the generator overnight and you have neighbors it's best to shut the generator down just out of courtesy.
Although during a power outage many other neighbors will also likely have their generators running at night and likely would not care if you ran it overnight although some people may have an issue with it.
You can leave a generator running.
Generators are meant to run and can run for a long time 24 hours a day 7 days a week for around 500 hours at a time.
It is safe to leave a portable generator unattended whether running or not as long as it's away from anything combustible and you have secured it such as by locking it.
You can leave a generator running when not home as long as it's secure, not around anything flammable and it has enough fuel to run then you can safely leave the generator running even when not home.
Portable generators can run continuously for up to around 21 days or 500 hours.
After that or even before then it's best to shut it down for awhile and then check the oil and if needed change the oil.
Other than that the portable generator can run continuously for a long time without any issues.
You can let a portable generator run 24 hours a day 7 days a week for up to about 21 days before you should shut it down to let it rest and check the oil and possibly change the oil.
As long as you have enough gasoline or fuel for the portable generator it can run for a long time.
A generator can run 24 hours a day as long as it has enough fuel and enough oil.
Portable and standby generators can be ran 24 hours a day but they should be given a break after 21 days if ran that long so you can check the oil and possibly change the oil.
But there's no harm in running a generator all the time 24 hours a day if you want too or need too.
When breaking a new generator in you should run the new generator for at least 3 hours to break it in and put a load on it as well.
You should also ideally start your generator up and put a load on it for a few hours at least a few times per month to ensure the generator is working and to keep fresh fuel running through the carburetor.
The amount of fuel a generator uses in an hour is around 1/2 gallon to 1 gallon of fuel per hour for larger generators.
Smaller generators including the 2 stroke generators usually use around 1 gallon in 5 hours which is much better but they can only handle small loads.
I have a small 2 stroke generator that provides about 800 watts of electricity and I can run that generator for around 5 hours on 1 gallon of gasoline.
So if I ran it for 24 hours it would use around 5 gallons of gasoline which is not bad.
A generator will usually run about 8 hours to 10 hours on 5 gallons of gas for larger generators.
Smaller generators can usually go 5 hours on a gallon of gas which means it will use around 5 gallons of gas in 24 to 25 hours.
The larger the generator the more fuel it's gonna use and the more load you put on the generator the more gasoline it's gonna use.
Adding gas to a generator while it's running is not recommended although it can be done safely.
The reason why you're not supposed to add gas to a generator while it's running is because you could spill some gas on the hot engine, hot exhaust etc and cause a fire or explosion.
I have however added gas to my generator while it was running for a long time and never had any issue.
I just make sure to pour the gas in slowly and be careful about it.
During a wind storm that took out the power for a week I had a generator running all the time to have electricity and about every 3 hours I would go out and top off the gasoline tank to keep it running.
Never once did I shut the generator down to refuel and it kept running all that time until the power came back on and I shut it off and checked the oil which was also fine.
If you're not sure if you can go without spilling gasoline then it's best to shut the generator off for a few minutes or so and allow it to cool down while you add some fuel.
Although generators can run for a long time it's okay to give it a break once in awhile and it will save you money on gasoline if you don't need it running constantly.
If you don't have enough fuel then you should only run it as much as you need too.
But if you have enough fuel then you can run it all day and all night if you need to or want too.