In this paper, we consider M/G/1 queuing systems governed by a stochastic clearing mechanism, called "disaster," which removes all workload in the system whenever it occurs to the system. The. clearing mechanism of disasters can. be applied to computer systems in the presence of a virus as a clearing operation of all stored messages present in the system. We present the system size distribution and the sojourn time distribution.