Bring a power tester & volt meter with you, also verify how old the generator is and how much wattage & peak wattage it has for a rating. You must verify that your DJ setup is not exceeding this limit...
Some stories, I have been on generator power for two events twice without a choice, both times knew about it. First event the people had 600 watt flood lights attached and the low end took up more of the amps reserve power, you noticed the lights dim on each beat, immediately moved the lights to another circuit

other time used a generator and no problems, just ran a small load (yeah right), 2 mackie 1530s, mackie mixer, mics, guitar amps, and another amp for monitors, worked like a charm and I punched the system very hard outdoors.
When your running your generator check for proper grounding, the edison socket tester will show you this... Additionally the volt meter should range anywhere from 110-120 anything above or below this range can be hazardous. Test only after the generator has been warmed up for a few minutes for a consistent reliable reading... Also most generators will in order to achieve those peak wattages "throttle up". While this is nice for most purposes this doesn't serve DJs, their amps, and other electronics any good, they can cause spikes and surges like crazy (generators are usually are known for it). I wouldnt bring subs and would reduce the subharmonic eq (around 80hz or 120hz).
Do you have access to a good good power conditioner? It's a good thing to have. Also for better success get a UPS battery backup solution with AVR (Automatic Voltage Regulation), this is key, it will cost more but if you have a brown-out on the generator (ie losing gas, or other malfunction) it will turn the battery on and make up the difference, it also will help ensuring it is a 60hz signal correctly phased. Also if it goes over the voltage it will reduce it down to a stable level. You more than likely should only run the UPS on your electronics as your amps may create an undesired load unintended when your UPS was designed. UPS + Power conditioner together can help you be sure you won't have any problems.
----
Disclaimer: This setup is assuming readers are not using commercial grade generators such as single-pole, 3-phase power, basically stuff that could really kill you. (Don't monkey around with power :monkeyshocked
