If you are driving under poor weather conditions, you should maintain a following distance of at least:

If you are operating a large vehicle in adverse weather conditions, you should maintain a minimum following distance of six to eight seconds. The additional space should give you the distance needed to safely stop, even with the lowered traction on the road.
DMV Writen Test