Positronium formation probability was investigated as a function of irradiation time and temperature for some long-chain saturated hydrocarbons (alkanes). Intensity of ortho-positronium component in the lifetime spectrum depends on the concentration of trapped excess electrons, but also on concentration of radicals and ions acting as electron scavengers. The results indicate the existence of two kinds of electron traps; those which are not emptied by thermal treatment disappear after several days of positron irradiation.